Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eden-lane committed Dec 1, 2021
1 parent 3e3c8de commit 06be70f
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 @@ -81,6 +81,12 @@ const Select = ({value, onChange, items}) => {
to certain events; For example, you can prevent dropdown
from closing after user selects an option

- **onClickOutside** - `() => void`
Callback which is called when user clicks outside menu or wrapper

- **ResizeObserver**
Use it to pass your polyfill for ResizeObserver. By default uses window.ResizeObserver

### State and methods

`useDropdown` returns it's state and provides methods that
Expand Down

0 comments on commit 06be70f

Please sign in to comment.