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 |
Synopsis
Documentation
data FormButton Source #
Describes the configuration for a button UI element that is a part of a form.
See: newFormButton
smart constructor.
Instances
newFormButton :: FormButton Source #
Create a value of FormButton
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:FormButton'
, formButton_children
- Describes the button's properties.
$sel:excluded:FormButton'
, formButton_excluded
- Specifies whether the button is visible on the form.
$sel:position:FormButton'
, formButton_position
- The position of the button.
formButton_children :: Lens' FormButton (Maybe Text) Source #
Describes the button's properties.
formButton_excluded :: Lens' FormButton (Maybe Bool) Source #
Specifies whether the button is visible on the form.
formButton_position :: Lens' FormButton (Maybe FieldPosition) Source #
The position of the button.