how can I use kotlin-styled with the new Kotlin React approach? I see that e.g.
styledImg
is defined as an extension function on
RBuilder
, not
ChildrenBuilder
. If there's another recommended way to create simple HTML elements with type-safe CSS, I'm happy to migrate there, it's just nice to make it explicit in the docs
Piotr Krzemiński
01/11/2022, 9:13 AM
let me partially answer the question - we can use e.g.