Allow to create multi level (nested) components
joaozitopolo opened this issue · 0 comments
joaozitopolo commented
Today it is only possible to create one level component.
Should be possible to create nested combinations with the same initial parameters?
Ex:
const Box = w.div("color-red", { ...config1 }).nest.div("border-2", { ...config2})
and then when use, any parameters will be reflected to all nested components:
and variant should reach config1 and config2.