import { Panel, Group, VLayout, layoutConfig, Gravity, Text, Color, navbar, jsx, } from "doric"; @Entry class Example extends Panel { onShow() { navbar(context).setTitle("Example"); } build(rootView: Group) { let count = 0; ( { count++; const label = rootView.findViewByTag("Label") as Text; label.text = `${count}`; }} width={200} height={50} /> ).in(rootView); } }