1 | import * as React from 'react';
|
2 | export type AccordionEventKey = string | string[] | null | undefined;
|
3 | export declare type AccordionSelectCallback = (eventKey: AccordionEventKey, e: React.SyntheticEvent<unknown>) => void;
|
4 | export interface AccordionContextValue {
|
5 | activeEventKey?: AccordionEventKey;
|
6 | onSelect?: AccordionSelectCallback;
|
7 | alwaysOpen?: boolean;
|
8 | }
|
9 | export declare function isAccordionItemSelected(activeEventKey: AccordionEventKey, eventKey: string): boolean;
|
10 | declare const context: React.Context<AccordionContextValue>;
|
11 | export default context;
|