GoScrobble/web/node_modules/react-bootstrap/cjs/AccordionButton.d.ts

9 lines
512 B
TypeScript

import * as React from 'react';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
declare type EventHandler = React.EventHandler<React.SyntheticEvent>;
export interface AccordionButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, BsPrefixProps {
}
export declare function useAccordionButton(eventKey: string, onClick?: EventHandler): EventHandler;
declare const AccordionButton: BsPrefixRefForwardingComponent<'div', AccordionButtonProps>;
export default AccordionButton;