UNPKG

@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.

20 lines (19 loc) 870 B
export interface SelectClasses { /** Class name applied to the root element. */ root: string; /** Class name applied to the listbox element. */ listbox: string; /** Class name applied to the popper element. */ popup: string; /** State class applied to the root `button` element if `active={true}`. */ active: string; /** State class applied to the root `button` element if `expanded={true}`. */ expanded: string; /** State class applied to the root `button` element and the listbox 'ul' element if `disabled={true}`. */ disabled: string; /** State class applied to the root `button` element if `focusVisible={true}`. */ focusVisible: string; } export type SelectClassKey = keyof SelectClasses; export declare function getSelectUtilityClass(slot: string): string; export declare const selectClasses: SelectClasses;