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#Calendar TypeScript Examples
The following examples show how to use
react-feather#Calendar.
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: Toolbar.tsx From crypto-fees with MIT License | 6 votes |
DateButton = forwardRef<
HTMLButtonElement,
{ onClick?: any; value?: string; loading?: boolean }
>(({ onClick, value, loading }, ref) => {
const { t } = useTranslation();
return (
<Button ref={ref} onClick={onClick} Icon={Calendar}>
{loading ? <div className="loader" /> : value || t('Yesterday')}
<style jsx>{`
.loader {
display: inline-block;
width: 20px;
height: 20px;
margin: 0 10px;
}
.loader:after {
content: ' ';
display: block;
width: 16px;
height: 16px;
border-radius: 50%;
border: 2px solid #333;
border-color: #333 transparent #333 transparent;
animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
`}</style>
</Button>
);
})