Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
type='submit'
color={Colors.PRIMARY}
onClick={() => this.performSearch()}
>
Search
{this.props.showFilters &&
<label>Only Amazon Fulfilled
</label>
}
{this.props.showFilters &&
<label>Department
<select value="{this.state.index"> this.handleIndexChange(e.target.value)}
>
<option value="All">All Depts.</option>
<option value="Appliances">Appliances</option></select></label>