react-skycons
TypeScript icon, indicating that this package has built-in type declarations

0.8.8 • Public • Published

react-skycons

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

Package Sidebar

Install

npm i react-skycons

Weekly Downloads

205

Version

0.8.8

License

MIT

Unpacked Size

9.98 kB

Total Files

6

Last publish

Collaborators

  • roadmanfong