https://github.com/tableflip/react-dropdown
A React dropdown menu with a fancy menu arrow and no dependencies
https://github.com/tableflip/react-dropdown
Last synced: about 1 year ago
JSON representation
A React dropdown menu with a fancy menu arrow and no dependencies
- Host: GitHub
- URL: https://github.com/tableflip/react-dropdown
- Owner: tableflip
- License: mit
- Created: 2018-07-02T13:48:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T19:28:11.000Z (over 5 years ago)
- Last Synced: 2024-05-01T14:27:01.865Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://tableflip.github.io/react-dropdown
- Size: 1.17 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Dropdown - TABLEFLIP EDITION
A simple React dropdown menu with a fancy arrow and no dependencies
```
npm i @tableflip/react-dropdown
```
## Example
```jsx
import React from 'react'
import {Dropdown, DropdownMenu} from '@tableflip/react-dropdown'
export function FileMenu ({open, toggleOpen}) {
return (
Add to IPFS
Add File
Add Folder
Add Folder
)
}
```