react-feather APIs
- X
- CheckCircle
- Check
- ChevronDown
- Activity
- ChevronLeft
- ChevronRight
- ArrowRight
- GitHub
- Menu
- XCircle
- Sun
- Moon
- MapPin
- Plus
- Play
- AlertTriangle
- HelpCircle
- ChevronsRight
- MoreVertical
- Search
- ExternalLink
- Home
- Copy
- ChevronUp
- Bookmark
- List
- AlertCircle
- ChevronsLeft
- Heart
- Terminal
- Eye
- Info
- FastForward
- Trash
- Book
- TrendingUp
- PieChart
- Disc
- PlusCircle
- ArrowUpCircle
- Filter
- EyeOff
- LogOut
- Key
- Save
- Trash2
- Maximize2
- Pause
- Users
- ChevronsDown
- Database
- Send
- FileText
- Layers
- Edit
- Inbox
- Smartphone
- Clipboard
- Codepen
- Youtube
- Chrome
- UserPlus
- UploadCloud
- Star
- GitMerge
- Minimize
- Folder
- GitPullRequest
- MessageCircle
- LogIn
- Edit3
- Tag
- Maximize
- ArrowDownRight
- Lock
- Minimize2
- Rewind
- SkipBack
- SkipForward
- Unlock
- MoreHorizontal
- Volume1
- Volume2
- VolumeX
- Repeat
- ArrowUpRight
- Bell
- BookOpen
- ChevronsUp
- ArrowLeft
- Calendar
- XOctagon
- Compass
- BarChart2
- Map
- Gift
- Crop
- CloudLightning
- Move
- ArrowUp
- ArrowDown
- Navigation
- Watch
- Edit2
- Phone
- Package
- User
- Rss
- Code
- Paperclip
- Box
- Feather
- Globe
- Grid
- PhoneCall
- Share2
- Monitor
- Clock
OtherRelated APIs
- react-router-dom#useParams
- react-feather#MapPin
- react-feather#Layers
- react-feather#Navigation
- @chakra-ui/core#Flex
- @chakra-ui/core#Text
- @chakra-ui/core#Stack
- @chakra-ui/core#Image
- @chakra-ui/core#Box
- @chakra-ui/core#Spinner
- @chakra-ui/core#Link
- @chakra-ui/core#Heading
- @chakra-ui/core#Badge
- @chakra-ui/core#SimpleGrid
- @chakra-ui/core#AspectRatioBox
- @chakra-ui/core#Stat
- @chakra-ui/core#StatLabel
- @chakra-ui/core#StatNumber
- @chakra-ui/core#StatHelpText
- @chakra-ui/core#StatGroup
react-feather#Watch JavaScript Examples
The following examples show how to use
react-feather#Watch.
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: launch.js From space-rockets-challenge with MIT License | 6 votes |
function TimeAndLocation({ launch }) {
return (
<SimpleGrid columns={[1, 1, 2]} borderWidth="1px" p="4" borderRadius="md">
<Stat>
<StatLabel display="flex">
<Box as={Watch} width="1em" />{" "}
<Box ml="2" as="span">
Launch Date
</Box>
</StatLabel>
<StatNumber fontSize={["md", "xl"]}>
{formatDateTime(launch.launch_date_local)}
</StatNumber>
<StatHelpText>{timeAgo(launch.launch_date_utc)}</StatHelpText>
</Stat>
<Stat>
<StatLabel display="flex">
<Box as={MapPin} width="1em" />{" "}
<Box ml="2" as="span">
Launch Site
</Box>
</StatLabel>
<StatNumber fontSize={["md", "xl"]}>
<Link
as={RouterLink}
to={`/launch-pads/${launch.launch_site.site_id}`}
>
{launch.launch_site.site_name_long}
</Link>
</StatNumber>
<StatHelpText>{launch.launch_site.site_name}</StatHelpText>
</Stat>
</SimpleGrid>
);
}