dscript-doc

1.0.0 • Public • Published

dscript-doc

NPM version Build Status Coverage Status

Code Climate Dependencies DevDependencies

dscript with doc-jsx setup done for you

Check out dscript for documentation on more advanced usage.

Install

npm install --save dscript-doc

Usage

import {div, li, ul} from 'dscript-doc'

const handleClick = () => alert('hi')

const component = (
  div('.list-container', {onClick: handleClick}, [
    ul([
      li(['task 1']),
      li(['task 2']),
      li(['task 3'])
    ])
  ])
)

LICENSE

MIT © Dustin Specker

Package Sidebar

Install

npm i dscript-doc

Weekly Downloads

7

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dustinspecker