UNPKG

870 BTypeScriptView Raw
1export interface MenuItemClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** State class applied to the root element if keyboard focused. */
5 focusVisible: string;
6 /** Styles applied to the root element if dense. */
7 dense: string;
8 /** State class applied to the root element if `disabled={true}`. */
9 disabled: string;
10 /** Styles applied to the root element if `divider={true}`. */
11 divider: string;
12 /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
13 gutters: string;
14 /** State class applied to the root element if `selected={true}`. */
15 selected: string;
16}
17export type MenuItemClassKey = keyof MenuItemClasses;
18export declare function getMenuItemUtilityClass(slot: string): string;
19declare const menuItemClasses: MenuItemClasses;
20export default menuItemClasses;