ComponentChild

data class ComponentChild(val children: List<ComponentChild>? = null, val componentType: String, val events: Map<String, ComponentEvent>? = null, val name: String, val properties: Map<String, ComponentProperty>, val sourceId: String? = null)

Constructors

Link copied to clipboard
constructor(children: List<ComponentChild>? = null, componentType: String, events: Map<String, ComponentEvent>? = null, name: String, properties: Map<String, ComponentProperty>, sourceId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of ComponentChild instances for this component.

Link copied to clipboard

The type of the child component.

Link copied to clipboard

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.

Link copied to clipboard

The name of the child component.

Link copied to clipboard

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

Link copied to clipboard
val sourceId: String? = null

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