Skip to main content

Function: SearchFieldControl()

SearchFieldControl(props): any

Defined in: composites/SearchField/SearchField.tsx:160

The control slot — the search box. Renders the leading search glyph (leadingAdornment), the <input>, and the trailing clear button (trailingAdornment, labelled by the root's clearLabel). The clear button is managed by React Aria (hidden while empty).

Parameters

ParameterType
propsSearchFieldControlProps

Returns

any