Craig Condon
Craig Condon
Components would need to be wrapped around web components, and then props would need to be exposed to enable designers to customize UIs.
E.g: ```javascript export const useSomething = (props) => { return { items: [] }; }; useSomething.props = { props: { }, returns: { items: ["string"] } }; ``` ☝️ use...
```javascript public variant mobile trigger { "@media screen and (max-width: 100px)" } public component Test { render div { style trigger mobile { } } } ``` Alternatively: ```javascript public...
``` public variant mobile trigger { "@media screen and (max-width: 100px)" } public token fontSize { default 12px variant mobile 32px } ```
This: https://code.visualstudio.com/api/ux-guidelines/sidebars
Kind of like how Figma does it https://files.slack.com/files-pri/TGYKF98EM-F0436K6G2MC/screen_shot_2022-09-21_at_3.32.38_pm.png