| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AmplifyUiBuilder.Types.ComponentChild
Description
Synopsis
- data ComponentChild = ComponentChild' {}
- newComponentChild :: Text -> Text -> ComponentChild
- componentChild_children :: Lens' ComponentChild (Maybe [ComponentChild])
- componentChild_events :: Lens' ComponentChild (Maybe (HashMap Text ComponentEvent))
- componentChild_sourceId :: Lens' ComponentChild (Maybe Text)
- componentChild_componentType :: Lens' ComponentChild Text
- componentChild_name :: Lens' ComponentChild Text
- componentChild_properties :: Lens' ComponentChild (HashMap Text ComponentProperty)
Documentation
data ComponentChild Source #
A nested UI configuration within a parent Component.
See: newComponentChild smart constructor.
Constructors
| ComponentChild' | |
Fields
| |
Instances
Create a value of ComponentChild with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:children:ComponentChild', componentChild_children - The list of ComponentChild instances for this component.
$sel:events:ComponentChild', componentChild_events - 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.
$sel:sourceId:ComponentChild', componentChild_sourceId - The unique ID of the child component in its original source system, such
as Figma.
$sel:componentType:ComponentChild', componentChild_componentType - The type of the child component.
$sel:name:ComponentChild', componentChild_name - The name of the child component.
$sel:properties:ComponentChild', componentChild_properties - Describes the properties of the child component. You can't specify
tags as a valid property for properties.
componentChild_children :: Lens' ComponentChild (Maybe [ComponentChild]) Source #
The list of ComponentChild instances for this component.
componentChild_events :: Lens' ComponentChild (Maybe (HashMap Text ComponentEvent)) Source #
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.
componentChild_sourceId :: Lens' ComponentChild (Maybe Text) Source #
The unique ID of the child component in its original source system, such as Figma.
componentChild_componentType :: Lens' ComponentChild Text Source #
The type of the child component.
componentChild_name :: Lens' ComponentChild Text Source #
The name of the child component.
componentChild_properties :: Lens' ComponentChild (HashMap Text ComponentProperty) Source #
Describes the properties of the child component. You can't specify
tags as a valid property for properties.