ICommonsComponentSlots

interface
Slots

Default slot signature shared by container components. Provides the optional default slot returning any renderable content.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

default
() => any
Default slot — accepts any renderable content (VNode, string, array).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Extending ICommonsComponentSlots with additional named slots

typescript