GoScrobble/web/node_modules/react-bootstrap/cjs/Accordion.d.ts

16 lines
665 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import React from 'react';
import AccordionToggle from './AccordionToggle';
import AccordionCollapse from './AccordionCollapse';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
export interface AccordionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'>, BsPrefixPropsWithChildren {
activeKey?: string;
defaultActiveKey?: string;
onSelect?: SelectCallback;
}
declare type Accordion = BsPrefixRefForwardingComponent<'div', AccordionProps> & {
Toggle: typeof AccordionToggle;
Collapse: typeof AccordionCollapse;
};
declare const Accordion: Accordion;
export default Accordion;