0.4.0 • Published 6 years ago
hyperapp-feather v0.4.0
hyperapp feather icons
simply beautiful feather SVG icons as hyperapp components
feather is a collection of simply beautiful open source icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.
+typescript typings
install
npm install hyperapp-feather
use
const { Camera } = require('hyperapp-feather')
module.exports = () => h('div', [
,h('p', 'say cheese!')
,h(Camera)
])
configure
const { Camera } = require('hyperapp-feather')
module.exports = () => ,h(Camera, {
style: { fontSize: '1.8rem' }
}, {
color: 'red',
'stroke-width': 2,
})