skycons as React components
See Demo here
Install via npm
$ yarn add react-skycons
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}
/>
)
}
yarn run build
Fong Kuanghuei([email protected])
MIT