Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.11 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.11 KB

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([email protected])

License

MIT