PortalProps

external interface PortalProps : PropsWithChildren(source)

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The children to render into the container.

Link copied to clipboard
abstract var container: Element?

An HTML element or function that returns one. The container will have the portal children appended to it.

Link copied to clipboard
abstract var disablePortal: Boolean?

The children will be under the DOM hierarchy of the parent component.

Link copied to clipboard
abstract var key: Key?

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <T> ContextType<T>.invoke(noinline block: ProviderProps<T>.() -> Unit)
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> ContextType<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()