GoScrobble/web/node_modules/react-bootstrap/esm/AccordionToggle.d.ts

12 lines
582 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import React from 'react';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
declare type EventHandler = React.EventHandler<React.SyntheticEvent>;
export interface AccordionToggleProps extends BsPrefixPropsWithChildren {
eventKey: string;
onClick?: EventHandler;
}
declare type AccordionToggle = BsPrefixRefForwardingComponent<'div', AccordionToggleProps>;
export declare function useAccordionToggle(eventKey: string, onClick?: EventHandler): EventHandler;
declare const AccordionToggle: AccordionToggle;
export default AccordionToggle;