UNPKG

994 BTypeScriptView Raw
1export interface CheckboxClasses {
2 /** Class name applied to the root element. */
3 root: string;
4 /** State class applied to the root element if `checked={true}`. */
5 checked: string;
6 /** State class applied to the root element if `disabled={true}`. */
7 disabled: string;
8 /** State class applied to the root element if `indeterminate={true}`. */
9 indeterminate: string;
10 /** State class applied to the root element if `color="primary"`. */
11 colorPrimary: string;
12 /** State class applied to the root element if `color="secondary"`. */
13 colorSecondary: string;
14 /** State class applied to the root element if `size="small"`. */
15 sizeSmall: string;
16 /** State class applied to the root element if `size="medium"`. */
17 sizeMedium: string;
18}
19export type CheckboxClassKey = keyof CheckboxClasses;
20export declare function getCheckboxUtilityClass(slot: string): string;
21declare const checkboxClasses: CheckboxClasses;
22export default checkboxClasses;