Skip to main content
Version: Next

SearchFieldProps

Home > @backstage/canon > SearchFieldProps

Signature:

export interface SearchFieldProps extends AriaSearchFieldProps, Omit<FieldLabelProps, 'htmlFor' | 'id'> 

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

Properties

Property

Modifiers

Type

Description

icon?

ReactNode | false

(Optional) An icon to render before the input

placeholder?

string

(Optional) The placeholder text for the input

size?

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

(Optional) The size of the text field