Piotr Krzemiński
01/11/2022, 8:52 AMstyledImg
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 docsPiotr Krzemiński
01/11/2022, 9:13 AMreact.dom.html.ReactHTML.img
which exposes a style: react.CSSProperties
property which is type-aliased to csstype.Properties
. However, there's some issue with my specific use case and I cannot migrate yet: https://github.com/JetBrains/kotlin-wrappers/issues/1132turansky
01/11/2022, 10:11 AMIf there’s another recommended way to create simple HTML elements with type-safe CSS, I’m happy to migrate thereYou can use
kotlin-react-css
- examplePiotr Krzemiński
01/11/2022, 11:23 AMFilter
issue still standsturansky
01/11/2022, 11:30 AM