Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ComponentChild

import type { ComponentChild } from "https://aws-api.deno.dev/v0.4/services/amplifyuibuilder.ts?docs=full";

A nested UI configuration within a parent Component.

interface ComponentChild {
children?: ComponentChild[] | null;
componentType: string;
events?: {
[key: string]: ComponentEvent | null | undefined;
}
| null;
name: string;
properties: {
[key: string]: ComponentProperty | null | undefined;
}
;
sourceId?: string | null;
}

§Properties

§
children?: ComponentChild[] | null
[src]

The list of ComponentChild instances for this component.

§
componentType: string
[src]

The type of the child component.

§
events?: {
[key: string]: ComponentEvent | null | undefined;
}
| null
[src]

Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

§
name: string
[src]

The name of the child component.

§
properties: {
[key: string]: ComponentProperty | null | undefined;
}
[src]

Describes the properties of the child component. You can't specify tags as a valid property for properties.

§
sourceId?: string | null
[src]

The unique ID of the child component in its original source system, such as Figma.