{
const {build} = SingUI.browser()
const app = ()=> build(({tags, text, attach, attr, prop}) => {
const {h1, center, p} = tags
center(() => {
h1(() => {
attr.style = 'font-weight: 300'
text('Hello World!')
})
})
p(() => {
const style = prop.style
style.color = 'green'
style.textAlign = 'center'
text('Welcome to SingUI')
})
return attach
})
const myApp = app()
myApp(out)
}