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.

14 lines (13 loc) 590 B
export interface ButtonClasses { /** Class name applied to the root element. */ root: string; /** State class applied to the root `button` element if `active={true}`. */ active: string; /** State class applied to the root `button` element if `disabled={true}`. */ disabled: string; /** State class applied to the root `button` element if `focusVisible={true}`. */ focusVisible: string; } export type ButtonClassKey = keyof ButtonClasses; export declare function getButtonUtilityClass(slot: string): string; export declare const buttonClasses: ButtonClasses;