Skip to main content

TextFieldProps

Home > @backstage/canon > TextFieldProps

Signature:

export interface TextFieldProps extends AriaTextFieldProps, Omit<FieldLabelProps, 'htmlFor' | 'id'> 

Extends: AriaTextFieldProps, Omit<FieldLabelProps, 'htmlFor' | 'id'>

Properties

Property

Modifiers

Type

Description

icon?

ReactNode

(Optional) An icon to render before the input

size?

'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>

(Optional) The size of the text field