mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
12 lines
582 B
TypeScript
12 lines
582 B
TypeScript
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;
|