DescribeBox
The home-screen box: a heading, the request, and Search.
Who are you looking for?
Describe the person in your own words.
Example
<DescribeBox value={request} onChange={setRequest} onSubmit={search} />
Props
| Prop | Type | |
|---|---|---|
title | string | Default Who are you looking for?. |
subtitle | string | Default Describe the person in your own words.. |
value | string | |
onChange | (value) => void | |
onSubmit | () => void | |
placeholder | string | |
disabled | boolean | |
submitDisabled | boolean | Disables Search while the field stays editable. |
hint | string | Default Enter to search · Shift+Enter for a new line. |
submitLabel | string | Default Search. |
children | ReactNode | Tags and derivation progress, inside the box. |
error | string | |
onRetry | () => void | |
className | string | Added on the root element. |
style | CSSProperties | Added on the root element. |
Render it inside SourcingTheme so the Nova tokens apply.