dscript-doc
v1.0.0
Published
dscript with doc-jsx setup done for you
Downloads
8
Maintainers
Readme
dscript-doc
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