UNPKG

@wix/design-system

Version:

@wix/design-system

33 lines 917 B
export default ClosablePopover; /** * Closable Popover * Either a normal Controlled Popover, or a Popover that is initially opened and can be the closed by * calling a closeAction. */ declare class ClosablePopover extends React.PureComponent<any, any, any> { constructor(props: any); constructor(props: any, context: any); state: { open: any; mode: string; }; _isControlled(): boolean; open: () => void; _doOpen: (nextMode: any) => void; close: () => void; _handleMouseEnter: () => void; _handleMouseLeave: () => void; render(): React.JSX.Element; actions: { close: () => void; }; } declare namespace ClosablePopover { namespace defaultProps { let hideDelay: number; let initiallyOpened: boolean; let closeOnMouseLeave: boolean; } } import React from 'react'; //# sourceMappingURL=ClosablePopover.d.ts.map