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-feather#Clipboard JavaScript Examples
The following examples show how to use
react-feather#Clipboard.
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: AddressViewer.js From ucurtmetre with GNU General Public License v3.0 | 6 votes |
function AddressViewer({ data, title = 'BiLira Cüzdanı' }) {
const { onCopy, hasCopied } = useClipboard(data);
return (
<div className="address-container">
<a
mr={4}
target="_blank"
rel="noopener noreferrer"
href={`https://etherscan.io/address/${data}`}
>
<div className="qr-container">
<QRCode
bgColor="#FFFFFF"
fgColor="#000000"
level="Q"
style={{ width: 200, padding: '1rem' }}
value={data}
/>
</div>
</a>
<div className="address">
<h3>{title}</h3>
<p>
{data}
<button onClick={onCopy} type="button" className="button">
{hasCopied ? <CheckCircle /> : <Clipboard />}
</button>
</p>
</div>
</div>
);
}