Skip to content

ContentSlot

hasContentboolean

Whether the slot has any content.

isEmptyboolean

Whether the slot is currently empty.

refRef<boolean>

A ref indicating whether the slot is currently empty.

WhenEmptyComponent<{}>

A component that will render its contents when the content slot is empty.

WhenHasContentComponent<{}>

A component that will render its contents when the content slot has content.