1 | import * as React from 'react';
|
2 | import { AccordionSelectCallback, AccordionEventKey } from './AccordionContext';
|
3 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
4 | export interface AccordionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'>, BsPrefixProps {
|
5 | activeKey?: AccordionEventKey;
|
6 | defaultActiveKey?: AccordionEventKey;
|
7 | onSelect?: AccordionSelectCallback;
|
8 | flush?: boolean;
|
9 | alwaysOpen?: boolean;
|
10 | }
|
11 | declare const _default: BsPrefixRefForwardingComponent<"div", AccordionProps> & {
|
12 | Button: BsPrefixRefForwardingComponent<"div", import("./AccordionButton").AccordionButtonProps>;
|
13 | Collapse: BsPrefixRefForwardingComponent<"div", import("./AccordionCollapse").AccordionCollapseProps>;
|
14 | Item: BsPrefixRefForwardingComponent<"div", import("./AccordionItem").AccordionItemProps>;
|
15 | Header: BsPrefixRefForwardingComponent<"h2", import("./AccordionHeader").AccordionHeaderProps>;
|
16 | Body: BsPrefixRefForwardingComponent<"div", import("./AccordionBody").AccordionBodyProps>;
|
17 | };
|
18 | export default _default;
|