Skip to content

Commit

Permalink
Documenting custom classNames for Select and options, closes JedWatso…
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Jan 31, 2017
1 parent d17c535 commit 06766b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ function logChange(val) {
/>
```

### Custom classNames

You can provide a custom `className` prop to the `<Select>` component, which will be added to the base `.Select` className for the outer container.

The built-in Options renderer also support custom classNames, just add a `className` property to objects in the `options` array.

### Multiselect options

You can enable multi-value selection by setting `multi={true}`. In this mode:
Expand Down

0 comments on commit 06766b4

Please sign in to comment.