dat-button

2.3.0 • Public • Published

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)

API

button({ text, style, click })

/dat-button/

    Package Sidebar

    Install

    npm i dat-button

    Weekly Downloads

    1

    Version

    2.3.0

    License

    MIT

    Last publish

    Collaborators

    • juliangruber