UIButton
Name
Type
Default
Description
Example
import {UIButton} from 'writer'
render($$) {
const el = $$('div')
return el.append(
$$(UIButton, {
label: this.getLabel('My button'),
onClick: () => {
// Do something
}
})
)
}Example
type
Available types
Name