2.3.0 • Published 8 years ago
dat-button v2.3.0
dat-button
A dat style button.
WIP
Example
const button = require('dat-button')
const el = button({
text: 'BUTTON',
style: {
color: 'black'
},
click: () => console.log('click'),
klass: 'my-class'
}, onclick)
document.body.appendChild(el)