Socket
Book a DemoInstallSign in
Socket

@osn/react-identicon

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osn/react-identicon

React components

latest
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

React-IdentiIcon

This project provides a React UI component which takes a valid Polkadot address and generates a svg image.

Usage

  • Get the package
    yarn add @osn/react-identicon
  • Import as a ES mudule
    import Identicon from "@osn/react-identicon";
  • Apply in a react based project <Identicon value={address} size={size} />

Develop

To stat a demo, get this project, run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

To test importation or deploy to npmjs.com, run:

yarn build

Builds the component in dist directory, use yarn link under react-idenicon and then yarn link react-idenicon under the project wants to use this.

Keywords

react

FAQs

Package last updated on 21 Feb 2022

Did you know?

Socket

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