Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@aboutbits/react-material-icons
Advanced tools
This package includes all Material Icons as reusable React components.
First, you have to install the package:
npm install @aboutbits/react-material-icons
Second, you can use the icons in you React application like this:
import React from 'react'
import IconCached from '@aboutbits/react-material-icons/dist/IconCached'
const MyCommponent = () => {
return (
<IconCached/>
);
}
SVG related parameters like height and width can be passed as props.
To import the different variants of an icon you can add the variants as a postfix:
Icon10k
> Default filledIcon10kOutlined
> OutlinedIcon10kRound
> RoundedIcon10kSharp
> SharpIcon10kTwoTone
> Tow toneTo generate the components, simply run the following command:
npm run generate
To publish the package commit all changes and push them to master. Then run one of the following commands locally:
npm version patch
npm version minor
npm version major
About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.
For support, please contact info@aboutbits.it.
The MIT License (MIT). Please see the license file for more information.
FAQs
Material design icon components for React
The npm package @aboutbits/react-material-icons receives a total of 79 weekly downloads. As such, @aboutbits/react-material-icons popularity was classified as not popular.
We found that @aboutbits/react-material-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.