| 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.SectionalElement
Description
Synopsis
- data SectionalElement = SectionalElement' {}
- newSectionalElement :: Text -> SectionalElement
- sectionalElement_level :: Lens' SectionalElement (Maybe Int)
- sectionalElement_orientation :: Lens' SectionalElement (Maybe Text)
- sectionalElement_position :: Lens' SectionalElement (Maybe FieldPosition)
- sectionalElement_text :: Lens' SectionalElement (Maybe Text)
- sectionalElement_type :: Lens' SectionalElement Text
Documentation
data SectionalElement Source #
Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.
See: newSectionalElement smart constructor.
Constructors
| SectionalElement' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> SectionalElement |
Create a value of SectionalElement 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:level:SectionalElement', sectionalElement_level - Specifies the size of the font for a Heading sectional element. Valid
values are 1 | 2 | 3 | 4 | 5 | 6.
$sel:orientation:SectionalElement', sectionalElement_orientation - Specifies the orientation for a Divider sectional element. Valid
values are horizontal or vertical.
$sel:position:SectionalElement', sectionalElement_position - Specifies the position of the text in a field for a Text sectional
element.
$sel:text:SectionalElement', sectionalElement_text - The text for a Text sectional element.
$sel:type':SectionalElement', sectionalElement_type - The type of sectional element. Valid values are Heading, Text, and
Divider.
sectionalElement_level :: Lens' SectionalElement (Maybe Int) Source #
Specifies the size of the font for a Heading sectional element. Valid
values are 1 | 2 | 3 | 4 | 5 | 6.
sectionalElement_orientation :: Lens' SectionalElement (Maybe Text) Source #
Specifies the orientation for a Divider sectional element. Valid
values are horizontal or vertical.
sectionalElement_position :: Lens' SectionalElement (Maybe FieldPosition) Source #
Specifies the position of the text in a field for a Text sectional
element.
sectionalElement_text :: Lens' SectionalElement (Maybe Text) Source #
The text for a Text sectional element.
sectionalElement_type :: Lens' SectionalElement Text Source #
The type of sectional element. Valid values are Heading, Text, and
Divider.