sin

1.0.0-rc.0 • Public • Published

Sin

// Style only component
const style = s`
  background tomato
`
// Style input component
s((shadow) => s`
  background tomato
  box-shadow ${ shadow }
`)
// Style and attr component
s((title, onchange) => s`
  background tomato
`({
  onclick: onchange
}, title))
// Statefull
s(() => (title, onchange) => s`
  background tomato
`({
  onclick: onchange
}, title))

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i sin

    Weekly Downloads

    5

    Version

    1.0.0-rc.0

    License

    WTFPL

    Unpacked Size

    1.53 MB

    Total Files

    14

    Last publish

    Collaborators

    • porsager