Open yannickrocks opened 1 year ago
I am using the renderListItem as follows:
renderListItem={(props) => ( <ListItem setDropdownValue={setDropdownValue} props={props} data={data} setOpen={setOpen} /> )}
It works well for the list itself but for a selected item, it just displays the string.
Is it possible to have a customSelectedListItem which is similar to the ListItem component?
same question!
I am using the renderListItem as follows:
It works well for the list itself but for a selected item, it just displays the string.
Is it possible to have a customSelectedListItem which is similar to the ListItem component?