ohctechv3/.svn/pristine/b5/b58e8ab92faa117bfcbf31c30e1e75bb8b6e67fa.svn-base
2024-10-28 15:03:36 +05:30

28 lines
1.2 KiB
Plaintext

export interface NumberInputClasses {
/** Class name applied to the root element. */
root: string;
/** Class name applied to the root element if the component is a descendant of `FormControl`. */
formControl: string;
/** Class name applied to the root element if `startAdornment` is provided. */
adornedStart: string;
/** Class name applied to the root element if `endAdornment` is provided. */
adornedEnd: string;
/** Class name applied to the root element if the component is focused. */
focused: string;
/** Class name applied to the root element if `disabled={true}`. */
disabled: string;
/** State class applied to the root element if `readOnly={true}`. */
readOnly: string;
/** State class applied to the root element if `error={true}`. */
error: string;
/** Class name applied to the input element. */
input: string;
/** Class name applied to the increment button element. */
incrementButton: string;
/** Class name applied to the decrement button element. */
decrementButton: string;
}
export type NumberInputClassKey = keyof NumberInputClasses;
export declare function getNumberInputUtilityClass(slot: string): string;
export declare const numberInputClasses: NumberInputClasses;