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