Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DefaultButtonConfiguration = DefaultButtonConfiguration' {
- link :: Maybe Text
- backgroundColor :: Maybe Text
- borderRadius :: Maybe Int
- textColor :: Maybe Text
- buttonAction :: ButtonAction
- text :: Text
- newDefaultButtonConfiguration :: ButtonAction -> Text -> DefaultButtonConfiguration
- defaultButtonConfiguration_link :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_backgroundColor :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_borderRadius :: Lens' DefaultButtonConfiguration (Maybe Int)
- defaultButtonConfiguration_textColor :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_buttonAction :: Lens' DefaultButtonConfiguration ButtonAction
- defaultButtonConfiguration_text :: Lens' DefaultButtonConfiguration Text
Documentation
data DefaultButtonConfiguration Source #
Default button configuration.
See: newDefaultButtonConfiguration
smart constructor.
DefaultButtonConfiguration' | |
|
Instances
newDefaultButtonConfiguration Source #
Create a value of DefaultButtonConfiguration
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:link:DefaultButtonConfiguration'
, defaultButtonConfiguration_link
- Button destination.
$sel:backgroundColor:DefaultButtonConfiguration'
, defaultButtonConfiguration_backgroundColor
- The background color of the button.
$sel:borderRadius:DefaultButtonConfiguration'
, defaultButtonConfiguration_borderRadius
- The border radius of the button.
$sel:textColor:DefaultButtonConfiguration'
, defaultButtonConfiguration_textColor
- The text color of the button.
$sel:buttonAction:DefaultButtonConfiguration'
, defaultButtonConfiguration_buttonAction
- Action triggered by the button.
$sel:text:DefaultButtonConfiguration'
, defaultButtonConfiguration_text
- Button text.
defaultButtonConfiguration_link :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
Button destination.
defaultButtonConfiguration_backgroundColor :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
The background color of the button.
defaultButtonConfiguration_borderRadius :: Lens' DefaultButtonConfiguration (Maybe Int) Source #
The border radius of the button.
defaultButtonConfiguration_textColor :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
The text color of the button.
defaultButtonConfiguration_buttonAction :: Lens' DefaultButtonConfiguration ButtonAction Source #
Action triggered by the button.
defaultButtonConfiguration_text :: Lens' DefaultButtonConfiguration Text Source #
Button text.