This is a great component - just wondering if there's a simple way to apply css styles to the actual input element? e.g. to set the background colour via a prop
You can use inputProps to apply props directly to the input component:
<Typeahead
...
inputProps={{
className: 'my-custom-classname',
style: {
'backgroundColor': 'red',
}
}}
/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With