@mui/icons-material APIs
- Close
- Add
- Delete
- ExpandMore
- Settings
- Check
- Update
- GitHub
- MoreVert
- HelpOutline
- ChevronRight
- ExpandLess
- Menu
- FileCopy
- CheckBox
- CheckBoxOutlineBlank
- ArrowBack
- DeleteForever
- Visibility
- VisibilityOff
- Save
- Person
- Edit
- People
- ChevronLeft
- PlayArrow
- Home
- ExitToApp
- MoreHoriz
- WbSunny
- Download
- Upload
- Search
- HighlightOffOutlined
- ContentCopy
- Calculate
- ShoppingCart
- AccountBalance
- BarChart
- Paid
- Clear
- Cancel
- ArrowDownward
- ArrowUpward
- PhotoCamera
- Folder
- InfoOutlined
- Code
- KeyboardArrowDown
- Lock
- LockOpen
- Replay
- Favorite
- Build
- Refresh
- AssignmentInd
- Pets
- Public
- Group
- Brush
- KeyboardTab
- Phone
- HelpOutlineOutlined
- NetworkWifi
- CompareArrows
- AdminPanelSettings
- BugReport
- Logout
- Message
- AddCircle
- LockOutlined
- HomeOutlined
- BarChartOutlined
- MusicNote
- MusicNoteOutlined
- Album
- AlbumOutlined
- PersonOutlined
- SettingsOutlined
- Share
- ShareOutlined
- FastRewind
- Help
- Loop
- VolumeDown
- VolumeUp
- PauseCircle
- PlayCircle
- VolumeOff
- ChatBubbleOutline
- LockRounded
- WifiOffRounded
- VideocamOutlined
- AddRounded
- MoreVertRounded
- SyncProblem
- VideoCallOutlined
- GetAppRounded
- SaveAlt
- ErrorRounded
- InsertDriveFileRounded
- CheckCircleOutline
- CloudOff
- ClearAll
- CloseOutlined
- Link
- AttachmentOutlined
- CodeOutlined
- MailOutlineRounded
- Brightness7Rounded
- MenuRounded
- NightsStayRounded
- ArrowForward
- BrushRounded
- VisibilityRounded
- FileCopyRounded
- FavoriteRounded
- DesktopMacRounded
- PhoneAndroidRounded
- TabletMac
- ThumbUpOutlined
- ThumbDownOutlined
- AssistantPhotoOutlined
- Publish
- Create
- WbCloudy
- Computer
- KeyboardArrowUp
- BusinessCenter
- FavoriteBorder
- Groups
- Shuffle
- Difference
- SwapHoriz
- Info
- KeyboardDoubleArrowDown
- KeyboardDoubleArrowUp
- PersonAdd
- Checkroom
- FactCheck
- ArrowRightAlt
- Scanner
- Brightness4
- Brightness7
- Translate
- Backpack
- SettingsBrightness
- Equalizer
- Handyman
- SentimentVerySatisfied
- SentimentDissatisfied
- SentimentSatisfied
- AccessTime
- Remove
- ArrowDropDown
- ArrowRight
- Undo
- Redo
- CreateNewFolder
- Description
- Outbox
- Inbox
- DriveFileRenameOutline
- ContentPaste
- Block
- Star
- StarBorder
- Security
- Today
- Event
- Login
- Sick
- FaceRetouchingOff
- Fireplace
- ErrorOutline
- Stop
- ViewList
- Send
- PlayCircleFilledWhite
- PlaylistAddCheck
- Telegram
- VerifiedUser
- Notifications
- MenuOpen
- GppGood
- ContactPhone
- Payment
- FolderShared
- Class
- Shield
- MoveUp
- VolunteerActivism
- DisplaySettings
- Apartment
- BusAlert
- Category
- FilterNone
- Forest
- MedicalServices
- School
- SportsTennis
- TheaterComedy
- ReportGmailerrorred
- ArrowCircleUp
- UploadFile
- YouTube
- Web
- AccountCircle
- AccessibilityNew
- Chat
- FolderOpen
- FileCopyOutlined
- KeyboardBackspace
- CheckCircleOutlined
- ReportProblemOutlined
- ManageAccounts
- PhotoLibrary
- SettingsBackupRestore
- SupervisorAccount
- Api
- FeaturedPlayList
- BugReportOutlined
- NewReleases
- ColorLens
- FolderOutlined
- Apps
- SpeakerNotes
- LocalCafe
- BurstModeSharp
- DevicesOther
- VideoLibrary
- AddOutlined
- DeleteOutlineOutlined
- EditOutlined
- MoreHorizOutlined
- Bookmarks
- CopyAll
- InsertComment
- KeyboardArrowRight
- FileDownload
- Done
- PendingOutlined
- HelpOutlineRounded
- ReportProblem
- HelpOutlined
Other Related APIs
@mui/icons-material#FileCopyOutlined TypeScript Examples
The following examples show how to use
@mui/icons-material#FileCopyOutlined.
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: CopyableAddress.tsx From wrap.scrt.network with MIT License | 5 votes |
export default function CopyableAddress({
address,
explorerPrefix,
}: {
address: string;
explorerPrefix: string;
}) {
const [isCopied, setIsCopied] = useState<boolean>(false);
return (
<div
style={{
display: "flex",
placeContent: "flex-end",
placeItems: "center",
gap: "0.1em",
}}
>
<Typography sx={{ opacity: 0.8 }}>
<a
href={`${explorerPrefix}${address}`}
target="_blank"
style={{
textDecoration: "none",
color: "inherit",
}}
>
{address}
</a>
</Typography>
<CopyToClipboard
text={address}
onCopy={() => {
setIsCopied(true);
setTimeout(() => setIsCopied(false), 3000);
}}
>
<Button style={{ color: "black", minWidth: 0 }}>
<FileCopyOutlined
fontSize="small"
style={{ fill: isCopied ? "green" : undefined }}
/>
</Button>
</CopyToClipboard>
</div>
);
}
Example #2
Source File: KeplrStuff.tsx From wrap.scrt.network with MIT License | 5 votes |
export function KeplrPanel({
secretjs,
setSecretjs,
secretAddress,
setSecretAddress,
}: {
secretjs: SecretNetworkClient | null;
setSecretjs: React.Dispatch<React.SetStateAction<SecretNetworkClient | null>>;
secretAddress: string;
setSecretAddress: React.Dispatch<React.SetStateAction<string>>;
}) {
const [isCopied, setIsCopied] = useState<boolean>(false);
// useEffect(() => {
// setupKeplr(setSecretjs, setSecretAddress);
// }, []);
const content = (
<div style={{ display: "flex", placeItems: "center", borderRadius: 10 }}>
<img src="/keplr.svg" style={{ width: "1.8rem", borderRadius: 10 }} />
<span style={{ margin: "0 0.3rem" }}>
{secretjs ? secretAddress : "Connect wallet"}
</span>
</div>
);
if (secretjs) {
return (
<CopyToClipboard
text={secretAddress}
onCopy={() => {
setIsCopied(true);
setTimeout(() => setIsCopied(false), 3000);
}}
>
<Button
variant="contained"
style={{
background: "white",
textTransform: "none",
color: "black",
}}
>
{content}{" "}
<FileCopyOutlined
fontSize="small"
style={isCopied ? { fill: "green" } : undefined}
/>
</Button>
</CopyToClipboard>
);
} else {
return (
<Button
id="keplr-button"
variant="contained"
style={{ background: "white", color: "black" }}
onClick={() => setupKeplr(setSecretjs, setSecretAddress)}
>
{content}
</Button>
);
}
}