DropdownMenu
Menu from Reakit with a really nice theme 👀
Install and import
Usage
...or with more complexity
Properties
Name | Type(s) | Default | Required |
---|---|---|---|
children | node | ||
innerProps | object add custom props from styled system on DropdownMenu inner | ||
visible | bool from useDropdownMenuState |
Dependencies
- - @welcome-ui/box^3.0.0
- - @welcome-ui/system^3.0.0
- - @welcome-ui/utils^3.0.0
- - reakit^1.3.6
Peer dependencies
- - @xstyled/styled-components^2.2.3
- - react^16.10.2 || ^17.0.1
- - react-dom^16.10.2 || ^17.0.1
- - styled-components^5.2.1