input-label
v4.9.10arrow_drop_downThe contents of the InputLabel
.
If true
, the transition animation is disabled.
If true
, apply disabled class.
If true
, the label will be displayed in an error state.
If true
, the input of this label is focused.
If dense
, will adjust vertical spacing. This is normally obtained via context from
FormControl.
if true
, the label will indicate that the input is required.
If true
, the label is shrunk.
The variant to use.
Name | Type | Description |
---|---|---|
children | node | The contents of the |
classes | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
color | 'primary' | 'secondary' | The color of the component. It supports those theme colors that make sense for this component. |
disableAnimation | bool | If |
disabled | bool | If |
error | bool | If |
focused | bool | If |
margin | 'dense' | If |
required | bool | if |
shrink | bool | If |
variant | 'filled' | 'outlined' | 'standard' | The variant to use. |