
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
moblee-icons
Advanced tools
yarn add moblee-icons
import MenuIcon from 'moblee-icons/Menu';
<Menu />
Suppose your icon is going to be called myIcon
.
src
create a new file myIcon.js
;src/Pin.js
to your new file and replace all instances of Pin
to myIcon
;<path>
tag, copy the content of it's d
attribute. This string describes de shape of the icon;myIcon.js
replace d
content with the string you copied from the original SVG;d
, to do so, follow this rule: Enter new lines before letters, commas or spaces (a-Z
, ,
or
), NEVER split numbers and dots (0-9
and .
). Pin.js
is a good example;src/index.js
and add the export: export { default as myIcon } from './myIcon';
. Then sort lines (on Atom use: ⌘+⇧+P
> "Sort Lines: Sort");stories/mobleeIcons.js
and add 'myIcon',
to the array. (in alphabetical order!)That's it!! 🎉
You can now check out your brand new icon on the storybook! 😃
git clone git@gitlab.com:mobLee/icons
cd icons
yarn
git checkout -b feature-nyan-cat
yarn storybook
git add -A . && git commit -m "Add NyanCat icon"
git checkout master
git pull
package.json
versiongit commit -am "vX.X.X"
npm run deploy
git tag vX.X.X
git push && git push --tags
FAQs
mobLee UI components
We found that moblee-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.