New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-icon-dance

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-icon-dance

A icon dance style cpmponent deved with react.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Getting Started

A icon dance style cpmponent deved with react.

📦 Install

yarn add react-icon-dance

or you can:

npm install react-icon-dance

🚀 Usage

import Icon from 'react-icon-dance';
import icon from '../assets/icon.png';

function App() {
  return (
    <Icon size={64} interval={10} src={icon} />
  )
}

📔 API

ParamsDescriptionTypeDefault
asyncThe async properties of extarnal resources <script>booleantrue
mediaThe media properties of extarnal resources <link>, support all/screen/print/handheldstringall
targetThe DOM or Refs of container which need to load the <img>HTMLElement | (() => HTMLElement) | MutableRefObject-

🔨 Contribute

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Build library via father-build,

$ npm run build

License

MIT

FAQs

Package last updated on 02 Jan 2021

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