Gazebo_simulation-Frontend/node_modules/react-bootstrap/AccordionToggle.d.ts
2020-12-21 10:29:31 -05:00

20 lines
510 B
TypeScript

import * as React from 'react';
import { BsPrefixComponent } from './helpers';
export interface AccordionToggleProps {
eventKey: string;
onClick?: (event?: React.SyntheticEvent) => void;
}
export function useAccordionToggle(
eventKey: string,
onClick: (event?: React.SyntheticEvent) => void,
): (event?: React.SyntheticEvent) => void;
declare class AccordionToggle<
As extends React.ElementType = 'button'
> extends BsPrefixComponent<As, AccordionToggleProps> {}
export default AccordionToggle;