tuil
ReferencePackages@mwillbanks/tuil-ghostty-webAPI

PlaygroundNodeV1

export exported by @mwillbanks/tuil-ghostty-web.

View rawEdit

export

Public export exported by @mwillbanks/tuil-ghostty-web.

export interface PlaygroundNodeV1 {
  readonly id: string;
  readonly component: keyof typeof browserComponents;
  readonly props: Readonly<Record<string, unknown>>;
  readonly children?: readonly PlaygroundNodeV1[];
  readonly slots?: Readonly<Record<string, readonly PlaygroundNodeV1[]>>;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
component"Alert" | "AppBar" | "AppShell" | "Badge" | "Box" | "Button" | "Container" | "Divider" | "Heading" | "HStack" | "Progress" | "ResponsiveStack" | "Spinner" | "Stack" | "StatusBar" | "Text" | "VStack"YesThe component member uses the "Alert" | "AppBar" | "AppShell" | "Badge" | "Box" | "Button" | "Container" | "Divider" | "Heading" | "HStack" | "Progress" | "ResponsiveStack" | "Spinner" | "Stack" | "StatusBar" | "Text" | "VStack" contract.Alert, AppBar, AppShell, Badge, Box, Button, Container, Divider, HStack, Heading, Progress, ResponsiveStack, Spinner, Stack, StatusBar, Text, VStack
propsReadonly<Record<string, unknown>>YesThe props member uses the Readonly<Record<string, unknown>> contract.
childrenreadonly PlaygroundNodeV1[] | undefinedNoThe children member uses the readonly PlaygroundNodeV1[] | undefined contract.PlaygroundNodeV1
slotsReadonly<Record<string, readonly PlaygroundNodeV1[]>> | undefinedNoThe slots member uses the Readonly<Record<string, readonly PlaygroundNodeV1[]>> | undefined contract.PlaygroundNodeV1

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ghostty-web

On this page