welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
10 lines (9 loc) • 413 B
TypeScript
import { PopoverProps } from './Popover';
import { UsePopover, UsePopoverHover } from './usePopover';
export interface ContentOptions {
children: PopoverProps['children'];
/** call a function when popover closed */
onClose?: () => void;
store: UsePopover | UsePopoverHover;
}
export declare const Content: ({ children, onClose, store }: ContentOptions) => import("react/jsx-runtime").JSX.Element;