SearchInput
SearchInputProps
Signature:
export declare type SearchInputProps = <, | | | | | > & & & & & & <, (value: ) => > & ;SearchInput.Suffix
Use the SearchInput.Suffix component to render content after the input.
TextInputContentProps
| Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the Prefix slot. |
SearchInput.Button
Use the SearchInput.Button component to render a button inside the
SearchInput.Suffix component.
TextInputButtonProps
, , , , | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the BaseInput Button slot, preferably an icon or a similar visual element | |
disabled? | false | If a button is disabled e.g. it cannot be interacted with. By default, it inherits the disabled prop of the BaseInput, but can be overwritten. | |
tooltipText? | | If specified, a tooltip is rendered with this text, which describes what the button does. Please also consider translating the text in an internationalized context and use a short text description for the tooltip. The positioning and placing of the according tooltip will be handled by the component. | |
onClick? | | Called when the button is interacted with. | |
readOnly? | | Determines whether the input is in read-only mode. |