@activelylearn/material-ui
Version:
Material-UI's workspace package
19 lines (13 loc) • 559 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
export interface FormLabelProps extends StandardProps<FormLabelBaseProps, FormLabelClassKey> {
component?: React.ReactType<FormLabelBaseProps>;
disabled?: boolean;
error?: boolean;
focused?: boolean;
required?: boolean;
}
export type FormLabelBaseProps = React.LabelHTMLAttributes<HTMLLabelElement>;
export type FormLabelClassKey = 'root' | 'focused' | 'disabled' | 'error' | 'asterisk';
declare const FormLabel: React.ComponentType<FormLabelProps>;
export default FormLabel;