react-skycons

skycons

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-skycons
2350.8.82 years ago8 years agoMinified + gzip package size for react-skycons in KB

Readme

skycons as React components
Build Status npm version npm downloads
See Demo here

Installation

Install via npm
$ yarn add react-skycons

Quick Example

import React from 'react'
import Skycons, { SkyconsType } from 'react-skycons'

function Demo() {
  const svgProps = {
    style: { backgroundColor: 'blue' },
  }

  return (
    <Skycons
      color="white"
      type={SkyconsType.CLEAR_DAY}
      animate={true}
      size={24}
      resizeClear={true}
      {...svgProps}
    />
  )
}

Build

yarn run build

Author

Fong Kuanghuei(waneblade@gmail.com)

License

MIT