@mui/base
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
14 lines (13 loc) • 589 B
TypeScript
export interface MenuButtonClasses {
/** Class name applied to the root element. */
root: string;
/** State class applied to the root element if `active={true}`. */
active: string;
/** State class applied to the root element if `disabled={true}`. */
disabled: string;
/** State class applied to the root element if the associated menu is open. */
expanded: string;
}
export type MenuButtonClassKey = keyof MenuButtonClasses;
export declare function getMenuButtonUtilityClass(slot: string): string;
export declare const menuButtonClasses: MenuButtonClasses;