21 lines
676 B
TypeScript
21 lines
676 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;
|
|
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;
|