Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { h, sc, props, onClick, ctext } from '@crui/core'
- const submit = h('button', sc([
- ctext('Add')
- props({ className: 'add-todo-submit' }),
- onClick((e) => {
- e.preventDefault()
- // what to do?
- }),
- ]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement