forgeplus-react/node_modules/material-ui/Form/FormLabel.d.ts

19 lines
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;