Module Values.ComponentChild

A nested UI configuration within a parent Component.

Sourcetype nonrec t = {
  1. componentType : String_.t;
    (*

    The type of the child component.

    *)
  2. name : String_.t;
    (*

    The name of the child component.

    *)
  3. properties : ComponentProperties.t;
    (*

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

    *)
  4. children : ComponentChildList.t option;
    (*

    The list of ComponentChild instances for this component.

    *)
  5. events : ComponentEvents.t option;
    (*

    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.

    *)
  6. sourceId : String_.t option;
    (*

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

    *)
}
Sourceval make : ?children:ComponentChildList.t -> ?events:ComponentEvents.t -> ?sourceId:String_.t -> componentType:String_.t -> name:String_.t -> properties:ComponentProperties.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t