Skip to content

Allow rendering options with custom component #45

Open
@CodyReichert

Description

@CodyReichert

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>}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions