Closed milovanderlinden closed 3 years ago
It is part of the component created by the city of Amsterdam in their style. Please address the issue there, or hand me a solution on how to handle the click.
As is shown in the piece of code, there is no way to style the button, turn it off, or change the icon to f.i. a filter icon.
<Button
aria-label={placeholder || 'Zoek'}
title={placeholder || 'Zoek'}
type="submit"
size={36}
onClick={handleOnSubmit}
variant="secondary"
>
<Icon size={20}>
<Search />
</Icon>
</Button>
For now, I decided to overrule the style.
That doesn't work because the button class is altered by the react release pipeline. Will try to set a class on the main object and see if it trickles down.
search button in searchbar has no function