Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@urbaninfrastructure/react-icons

Package Overview
Dependencies
37
Maintainers
0
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @urbaninfrastructure/react-icons

NPM package containing icons as React components used by Urban Sharing.


Version published
Weekly downloads
232
increased by152.17%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

react-icons

NPM package containing icons as React components used by Urban Sharing.

Getting started

First, install the package by running yarn add @urbaninfrastructure/react-icons. Then, import the icons you want to use in your files:

import { Check as CheckIcon } from '@urbaninfrastructure/react-icons'

const App = () => <CheckIcon />

Adding new icons

To add new icons, put the svg icon in /icons, then run yarn prepare. Remember to preview your icon in the docs, run yarn storybook in root, and visit Icon/All.

We use Jest snapshot testing for the icons, so you need to update the snapshots by running yarn test -u after adding new icons.

If it looks ok, create a new version by running yarn release from root.

FAQs

Last updated on 25 Jun 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc