portal

@Composable
fun IComponent.portal(className: String? = null, id: String? = null, content: @Composable IPortal.() -> Unit = {})

Creates a Portal component.

Parameters

className

the CSS class name

id

the ID attribute of the component

content

the content of the component