Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,22 @@ The `arrowClosed` & `arrowOpen` props enable passing in custom elements for the
/>;
```

**optionClassName**

The `optionClassName` prop is passed down to the arrow `div` , which also has the `Dropdown-option` class.

```JavaScript
<Dropdown optionClassName='myOptionClassName' />;
```

**optionSelectedClassName**

The `optionSelectedClassName` prop is passed down to the arrow `div` , which also has the `Dropdown-option is-selected` classes.

```JavaScript
<Dropdown optionSelectedClassName='myOptionSelectedClassName' />;
```

Check more examples in the example folder.

**Run example**
Expand Down
Loading