Skip to content

Commit

Permalink
chore: tmp 10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 committed Dec 7, 2023
1 parent 31ed758 commit fc82f66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,11 @@ To render custom filter section use the `renderOption` property.
>
<UIKit.Select
placeholder="Custom options"
renderOption={({content, data}) => {
renderOption={(option) => {
console.log(option);
return (
<div style={{color: data.color}}>
{content}
<div style={{color: option.data.color}}>
{option.value}
</div>
);
}}
Expand Down

0 comments on commit fc82f66

Please sign in to comment.