/toy

declarative syntax ,you can describe the desired UI and its behavior using a series of structured statements rather than imperatively defining each individual UI element

Primary LanguageTypeScriptMIT LicenseMIT

toy

declarative syntax ,you can describe the desired UI and its behavior using a series of structured statements rather than imperatively defining each individual UI element

data flow 

demo1

const Layout = VStack(
  text('aaaa'),  
  text('bbbb').click(xxxxx),
  view('cccc').click().margin().padding().styles({})
);
// for react
export default () => <Layout />;