11 lines
342 B
Plaintext
11 lines
342 B
Plaintext
function heading(value: Text): View {
|
|
return ui.text(value, 2, "#242422")
|
|
}
|
|
|
|
function main(): View {
|
|
let title = heading("Hello Endor")
|
|
let rectangle = ui.rect(240, 80, 12, "#DCE8FF")
|
|
let detail = ui.row(0, 12, ui.text("Aster VM"), ui.spacer(8), ui.text("Tessera UI"))
|
|
return ui.column(24, 12, title, rectangle, detail)
|
|
}
|