Gazebo_simulation-Frontend/node_modules/react-bootstrap/AccordionToggle.d.ts

20 lines
510 B
TypeScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
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;