@lunit/oui
Version:
Lunit Oncology UI components
16 lines (15 loc) • 434 B
TypeScript
/// <reference types="react" />
import type { MenuProps as MuiMenuProps } from '@mui/material';
export type MenuSize = 'small' | 'medium';
export interface MenuProps extends StyledMenuProps {
size?: MenuSize;
subheader?: React.ReactNode;
showCheck?: boolean;
}
export interface StyledMenuProps extends MuiMenuProps {
size?: MenuSize;
}
export interface MenuContextValue {
size: MenuSize;
showCheck: boolean;
}