Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/// <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
You can’t perform that action at this time.