Hi all, any way to create a custom html tag elemen...
# javascript
a
Hi all, any way to create a custom html tag element with the new kotlin-react-dom instead of the legacy? This used to work:
Copy code
inline fun ChildrenBuilder.auiDropdownMenu(block: RDOMBuilder<AUI_DROPDOWN_MENU>.() -> Unit): Unit = tag(block) {
    AUI_DROPDOWN_MENU(mapOf(), it)
}
class AUI_DROPDOWN_MENU(
    initialAttributes: Map<String, String>,
    override val consumer: TagConsumer<*>
) : HTMLTag("aui-dropdown-menu", consumer, initialAttributes, null, false, false),
    CommonAttributeGroupFacadeFlowInteractivePhrasingContent
but now I want to migrate this code and cannot find out how to do it
a
@turansky
t
Copy code
val AuiDropdownMenu = IntrinsicType("aui-dropdown-menu")
🔥 2
a
wow, that was fast. thx for the help. and also good to see that this is now so much easier
😜 1