dxs
Component renderer for Lab
npm i dxs
// config.jsmoduleexports = name: 'Heading' type: 'h2' props: m: 0 f: 5 style: lineHeight: 125 name: 'Button' type: 'button' props: f: 1 m: 0 fontFamily: 'inherit' display: 'inline-block' padding: '12px' border: 0 borderRadius: '3px' color: 'white' backgroundColor: propsthemecolorsblue appearance: 'none' ':hover': boxShadow: 'inset 0 0 0 999px rgba(0, 0, 0, .125)' // Button extension name: 'PillButton' type: 'Button' props: {} style: borderRadius: '99999px'
const dxs = const config = const library = // -> object of React UI components
Exporting static modules
See @compositor/lab