Replies: 1 comment
-
|
Design OS generates TSX files ( Here's what the TypeScript integration looks like: Components are proper TSX:
Dedicated type files:
In the export package (
The components are fully typed with proper TypeScript interfaces for props. For example, exported components accept typed data and callbacks: <InvoiceList
invoices={data} // typed array
onView={(id) => ...} // typed callback
onEdit={(id) => ...}
onDelete={(id) => ...}
onCreate={() => ...}
/>The generated types come from the Hope that helps! It will all hopefully come together once you run the project and inspect the files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Forgive me, I have not actually tried this yet, but am excited by the concept and the web page.
Quick question, are the components created by design OS tsx files, or js with types? What does TS integration look like? I don't see that listed on the site.
Thanks for all the work that's gone into this!
Beta Was this translation helpful? Give feedback.
All reactions