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

23 lines
591 B
TypeScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
import * as React from 'react';
import Overlay from './Overlay';
type TriggerType = 'hover' | 'click' | 'focus';
export interface OverlayTriggerProps
extends React.ComponentPropsWithRef<typeof Overlay> {
children: React.ReactNode;
trigger?: TriggerType | TriggerType[];
delay?: number | { show: number; hide: number };
defaultShow?: boolean;
flip?: boolean;
overlay: React.ReactNode | (() => React.ReactNode);
target?: never;
onHide?: never;
show?: never;
}
declare class OverlayTrigger extends React.Component<OverlayTriggerProps> {}
export default OverlayTrigger;