UNPKG

504 BTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
3type EventHandler = React.EventHandler<React.SyntheticEvent>;
4export interface AccordionButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, BsPrefixProps {
5}
6export declare function useAccordionButton(eventKey: string, onClick?: EventHandler): EventHandler;
7declare const AccordionButton: BsPrefixRefForwardingComponent<'div', AccordionButtonProps>;
8export default AccordionButton;