26 lines
700 B
TypeScript
26 lines
700 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
import { FormLabelProps, FormLabelClassKey } from '../Form/FormLabel';
|
|
import { ClassNameMap } from '../styles/withStyles';
|
|
|
|
export interface InputLabelProps extends StandardProps<FormLabelProps, InputLabelClassKey> {
|
|
disableAnimation?: boolean;
|
|
disabled?: boolean;
|
|
error?: boolean;
|
|
FormControlClasses?: Partial<ClassNameMap<FormLabelClassKey>>;
|
|
focused?: boolean;
|
|
required?: boolean;
|
|
shrink?: boolean;
|
|
}
|
|
|
|
export type InputLabelClassKey =
|
|
| FormLabelClassKey
|
|
| 'formControl'
|
|
| 'labelDense'
|
|
| 'shrink'
|
|
| 'animated';
|
|
|
|
declare const InputLabel: React.ComponentType<InputLabelProps>;
|
|
|
|
export default InputLabel;
|