DefinitelyTyped/reactstrap/lib/Popover.d.ts
Marco Falkenberg 8934f1102f Add typings for reactstrap (#15357)
* Add typings for reactstrap

* Make lint happy

* Do not „double-reference“ to React types
2017-03-24 08:36:17 -07:00

31 lines
547 B
TypeScript

/// <reference types='tether' />
type Placement
= 'top'
| 'bottom'
| 'left'
| 'right'
| 'top left'
| 'top center'
| 'top right'
| 'right top'
| 'right middle'
| 'right bottom'
| 'bottom right'
| 'bottom center'
| 'bottom left'
| 'left top'
| 'left middle'
| 'left bottom';
interface Props {
placement?: Placement;
target: string;
isOpen?: boolean;
tether?: Tether.ITetherOptions;
className?: string;
toggle?: () => void;
}
declare var Popover: React.StatelessComponent<Props>;
export default Popover;