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 |
Documentation
data ComponentVariant Source #
Describes the style configuration of a unique variation of a main component.
See: newComponentVariant
smart constructor.
ComponentVariant' | |
|
Instances
newComponentVariant :: ComponentVariant Source #
Create a value of ComponentVariant
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:overrides:ComponentVariant'
, componentVariant_overrides
- The properties of the component variant that can be overriden when
customizing an instance of the component. You can't specify tags
as a
valid property for overrides
.
$sel:variantValues:ComponentVariant'
, componentVariant_variantValues
- The combination of variants that comprise this variant. You can't
specify tags
as a valid property for variantValues
.
componentVariant_overrides :: Lens' ComponentVariant (Maybe (HashMap Text (HashMap Text Text))) Source #
The properties of the component variant that can be overriden when
customizing an instance of the component. You can't specify tags
as a
valid property for overrides
.
componentVariant_variantValues :: Lens' ComponentVariant (Maybe (HashMap Text Text)) Source #
The combination of variants that comprise this variant. You can't
specify tags
as a valid property for variantValues
.