simplr-dropdown
v4.0.2
Published
A flexible React dropdown component.
Downloads
246
Maintainers
Readme
simplr-dropdown
Docs | API
A flexible React dropdown component.
Get started
$ npm install simplr-dropdown
Features
- Toggles dropdown when clicked on
DropdownHeader
component - Closes dropdown when clicked outside of
DropdownHandler
component* - Closes dropdown when clicked on
DropdownSection
component - Closes dropdown when clicked Escape button on keyboard
- Extendable base components
- Supports server side rendering
* This will not work when click event has stopped propogation (event.stopPropagation()
) and therefore window.addEventListener("click", ...)
will not receive event.
License
Released under the MIT license.