SearchInput with Custom Icon Colors
{
setValue(e.target.value);
action('on input change')(e.target.value);
}}
onReset={() => {
setValue('');
action('on input reset')();
}}
searchIconColor="infoPrimary"
{...args}
/>
{
setValue(e.target.value);
action('on input change')(e.target.value);
}}
onReset={() => {
setValue('');
action('on input reset')();
}}
searchIconColor="statusHealthy"
{...args}
/>
{
setValue(e.target.value);
action('on input change')(e.target.value);
}}
onReset={() => {
setValue('');
action('on input reset')();
}}
searchIconColor="statusWarning"
{...args}
/>
);
},
};