TextFieldProps
Home > @backstage/ui > TextFieldProps
Signature:
export interface TextFieldProps extends AriaTextFieldProps, Omit<FieldLabelProps, 'htmlFor' | 'id'>
Extends: AriaTextFieldProps, Omit<FieldLabelProps, 'htmlFor' | 'id'>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ReactNode |
(Optional) An icon to render before the input | ||
|
string |
(Optional) Text to display in the input when it has no value | ||
|
'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>> |
(Optional) The size of the text field | ||
|
'text' | 'email' | 'tel' | 'url' |
(Optional) The HTML input type for the text field |