UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

21 lines (16 loc) 671 B
import * as React from 'react'; import { StandardProps } from '..'; import { FormLabelProps, FormLabelClassKey } from '../FormLabel'; import { ClassNameMap } from '../styles/withStyles'; export interface InputLabelProps extends StandardProps<FormLabelProps, InputLabelClassKey> { disableAnimation?: boolean; disabled?: boolean; error?: boolean; FormLabelClasses?: Partial<ClassNameMap<FormLabelClassKey>>; focused?: boolean; required?: boolean; shrink?: boolean; } export type InputLabelClassKey = 'root' | 'formControl' | 'marginDense' | 'shrink' | 'animated'; declare const InputLabel: React.ComponentType<InputLabelProps>; export default InputLabel;