@material-ui/core
Version:
React components that implement Google's Material Design.
33 lines (28 loc) • 715 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { FormLabelProps } from '../FormLabel';
export interface InputLabelProps extends StandardProps<FormLabelProps, InputLabelClassKey> {
disableAnimation?: boolean;
disabled?: boolean;
error?: boolean;
focused?: boolean;
margin?: 'dense';
required?: boolean;
shrink?: boolean;
variant?: 'standard' | 'outlined' | 'filled';
}
export type InputLabelClassKey =
| 'root'
| 'focused'
| 'disabled'
| 'error'
| 'required'
| 'asterisk'
| 'formControl'
| 'marginDense'
| 'shrink'
| 'animated'
| 'filled'
| 'outlined';
declare const InputLabel: React.ComponentType<InputLabelProps>;
export default InputLabel;