react-feather APIs
- ArrowLeft
- ChevronDown
- X
- ChevronUp
- Plus
- ArrowDown
- CheckCircle
- AlertTriangle
- ChevronRight
- ArrowUpCircle
- AlertCircle
- Info
- Settings
- Repeat
- Activity
- Check
- Copy
- HelpCircle
- Triangle
- Trash
- Search
- Code
- PieChart
- ArrowRight
- Edit
- BookOpen
- MessageCircle
- Download
- Eye
- Upload
- GitHub
- Minus
- Filter
- File
- Folder
- ChevronsLeft
- ChevronsRight
- Icon
- XCircle
- PlusCircle
- ArrowUp
- ChevronLeft
- Loader
- ChevronsDown
- Menu
- FileText
- Share
- Clipboard
- Link
- FilePlus
- FolderPlus
- Trash2
- EyeOff
- Save
- Edit3
- CornerDownRight
- XOctagon
- ArrowUpRight
- Paperclip
- ChevronsUp
- Globe
- Sunrise
- Calendar
- CheckSquare
- Square
- Zap
- Bookmark
- Briefcase
- DollarSign
- Gift
- Home
- Layers
- PlusSquare
- Battery
- BatteryCharging
- Monitor
- Wind
- AlertOctagon
- CornerUpLeft
- RefreshCw
- ExternalLink
- Sliders
- Lock
- Divide
- Slash
- Maximize2
- Box
- Grid
- Package
- Server
- Star
- Heart
- Link2
- GitBranch
- Send
- Moon
- Sun
- List
- MoreHorizontal
- ArrowDownCircle
- RotateCw
- RotateCcw
- Slack
Other Related APIs
react-feather#Sunrise TypeScript Examples
The following examples show how to use
react-feather#Sunrise.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.tsx From cheeseswap-interface with GNU General Public License v3.0 | 5 votes |
export default function Menu() {
const node = useRef<HTMLDivElement>()
const [open, toggle] = useToggle(false)
useOnClickOutside(node, open ? toggle : undefined)
return (
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30451
<StyledMenu ref={node as any}>
<StyledMenuButton onClick={toggle}>
<StyledMenuIcon />
</StyledMenuButton>
{open && (
<MenuFlyout>
<MenuItem id="link" href="https://ogee.exchange/#/swap">
HECO
</MenuItem>
<MenuItem id="link" href="https://qsr.cheeseswap.app">
Quasar
</MenuItem>
<MenuItem id="link" href="https://cheesemaker.farm/">
<Sunrise size={14} />
Farm
</MenuItem>
<MenuItem id="link" href="https://info.cheeseswap.app/">
<PieChart size={14} />
Chart
</MenuItem>
<MenuItem id="link" href="https://t.me/cheesemakerfarm">
<MessageCircle size={14} />
Telegram
</MenuItem>
<MenuItem id="link" href={CODE_LINK}>
<Code size={14} />
Code
</MenuItem>
</MenuFlyout>
)}
</StyledMenu>
)
}