Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@eisberg-labs/mui-copy-field
Advanced tools
Material-UI text field with copy to clipboard functionality.
Material UI TextField with copy to clipboard functionality.
If you 👍 or use this project, consider giving it a ★, thanks! 🙌
Since this is an extension of mui components, prerequisite is to have material library already installed.
npm i --save @mui/material @emotion/react @emotion/styled @mui/icons-material
As for the mui-copy-field:
npm i --save @eisberg-labs/mui-copy-field
import {DefaultCopyField} from '@eisberg-labs/mui-copy-field';
<DefaultCopyField
label="Click on copy Button"
value={"Enter text"} />
or:
import {CopyField} from '@eisberg-labs/mui-copy-field';
<CopyField
label="Click on copy Button"
value={"Enter text"}
onCopySuccess={console.log}
onCopyError={console.log}
copyTooltip={"Some copy tooltip. Default is Copy"}
/>
Name | Type | Default | Description |
---|---|---|---|
copyTooltip | string | "Copy" | Copy button tooltip |
onCopySuccess | Function | undefined | If defined, fired on copy to clipboard |
onCopyError | Function | undefined | If defined, fired on copy to clipboard error |
All TextField
props are also supported.
MIT © Eisberg Labs
FAQs
Material-UI text field with copy to clipboard functionality.
We found that @eisberg-labs/mui-copy-field demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.