@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
12 lines (11 loc) • 555 B
TypeScript
import * as React from 'react';
import { PopperProps, UseDisclosureReturn } from '../../hooks';
import { SxProp } from '../../system';
import { AsProp, ChildrenProp } from '../../types';
export interface MenuProps extends PopperProps, AsProp, ChildrenProp, SxProp {
trigger: ((props: UseDisclosureReturn) => React.ReactElement) | React.ReactElement;
children: ((props: UseDisclosureReturn) => React.ReactElement) | React.ReactNode;
isFullWidth?: boolean;
openOnHover?: boolean;
}
export declare const Menu: React.FC<MenuProps>;