This component is used to render a search box.
interface ISearchBoxInstanceProps {
focusInput: () => void,
getInputElement: () => React.MutableRefObject<HTMLInputElement>
}
import {ISearchBoxInstanceProps} from 'uxp/components';
<SearchBox
value={inputValue}
onChange={(newValue) => { setInputValue(newValue) }}
/>
<SearchBox
value={inputValue}
onChange={(newValue) => { setInputValue(newValue) }}
collapsed
position="right"
/>