Allow rendering options with custom component
Hey there great library! Are there any plans to allow rendering the items in the options list with custom components? Or would a PR be accepted?
For example:
<ReactAutocompleteInput
options={["apple", "banana"]}
renderOption={opt => <Component>{opt}</Component>}
/>
Hi Cody, I am not actively supporting it but I will gladly review and merge good PR
#96 Lil late to the party, but had the same need as OP and created a PR for it. Love the library, hopefully someone else can use my change as well!
@yury-dymov ^
Done, sorry for the wait. Unless I misunderstood code changes, we would have to change 52 constant to dynamic item height evaluation for the option item elements and it would be good to go