
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
react-undraw
Advanced tools
React component for unDraw illustrations.
npm install react-undraw --save
import Undraw from 'react-undraw';
// optionally override default props
Undraw.defaultProps.primaryColor = 'darkblue';
<Undraw name="coding" />;
Props:
Prop | Type | Description | Default |
---|---|---|---|
name | string | Illustration file name (without extension). | n/a |
primaryColor | string | Illustration primary color. | #6c63ff |
height | string | Illustration height. | 250px |
Bring your own illustrations! To comply with the updated unDraw license, we can't bundle the illustrations with this package 😞 However, this means you can always use the latest illustrations! 😎
Here's what you need to do:
primaryColor
prop instead.undraw_barbecue_3x93.svg
=> barbecue.svg
).name
prop will need to match your file name.undraw
folder at the root of your project.react-undraw-cli
to your build
and/or start
script:
"prebuild": "react-undraw-cli"
"build": "react-undraw-cli && react-scripts build"
Example project structure:
package.json
src/
...
undraw/
coding.svg
hologram.svg
ice_cream.svg
...
npm install
npm run build
FAQs
React component for unDraw illustrations.
The npm package react-undraw receives a total of 266 weekly downloads. As such, react-undraw popularity was classified as not popular.
We found that react-undraw 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.