mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-28 11:43:00 +00:00
* Add typings for reactstrap * Make lint happy * Do not „double-reference“ to React types
31 lines
547 B
TypeScript
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; |