/** * FormControlLabel 类名定义 - 对应 MUI formControlLabelClasses.js * 100% 一比一复刻 */ export interface FormControlLabelClasses { root: string labelPlacementStart: string labelPlacementTop: string labelPlacementBottom: string disabled: string label: string error: string required: string asterisk: string } export function getFormControlLabelUtilityClass(slot: string): string { return `MuiFormControlLabel-${slot}` } const formControlLabelClasses: FormControlLabelClasses = { root: 'MuiFormControlLabel-root', labelPlacementStart: 'MuiFormControlLabel-labelPlacementStart', labelPlacementTop: 'MuiFormControlLabel-labelPlacementTop', labelPlacementBottom: 'MuiFormControlLabel-labelPlacementBottom', disabled: 'MuiFormControlLabel-disabled', label: 'MuiFormControlLabel-label', error: 'MuiFormControlLabel-error', required: 'MuiFormControlLabel-required', asterisk: 'MuiFormControlLabel-asterisk', } export default formControlLabelClasses