Created
October 13, 2017 01:47
-
-
Save masahirompp/df3515dd5a8abfe5f6bbd451cbb6e437 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="react" /> | |
declare module 'react-popover' { | |
type Falsey = false | null | undefined | |
type Place = 'above' | 'right' | 'below' | 'left' | 'row' | 'column' | 'start' | 'end' | |
export interface PopoverProps extends React.HTMLAttributes<any> { | |
body: React.ReactNode | React.ReactNode[] | |
enterExitTransitionDurationMs?: number | |
isOpen?: boolean | |
offset?: number | |
place?: Place | null | |
preferPlace?: Place | null | |
refreshIntervalMs?: number | Falsey | |
tipSize?: number | |
onOuterAction?: Function | |
target?: HTMLElement | |
appendTarget?: HTMLElement | |
} | |
export default class extends React.Component<PopoverProps, {}> {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment