DropdownMenu
Menu from Reakit with a really nice theme 👀
Install and import
Example
...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/system^2.0.2
- - @welcome-ui/utils^2.0.2
- - reakit^1.1.1
Peer dependencies
- - @xstyled/styled-components^1.17.0
- - react^16.10.2
- - react-dom^16.10.2
- - styled-components^4.0.0 || ^5.0.0