0.8.8 • Published 5 years ago
react-skycons v0.8.8
react-skycons
skycons as React components
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