Merge pull request #793 from NoRedInk/kraken/internal-radio-cleanup

💀 remove unused bool from internal radio button config
This commit is contained in:
Tessa 2021-12-06 08:21:33 -08:00 committed by GitHub
commit b4e693fed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,6 @@ type alias Config value msg =
, isDisabled : Bool
, guidance : Guidance
, error : ErrorState
, showPennant : Bool
, hideLabel : Bool
, containerCss : List Css.Style
, labelCss : List Css.Style
@ -243,7 +242,6 @@ emptyConfig =
, isDisabled = False
, guidance = InputErrorAndGuidanceInternal.noGuidance
, error = InputErrorAndGuidanceInternal.noError
, showPennant = False
, hideLabel = False
, containerCss = []
, labelCss = []
@ -325,7 +323,6 @@ view { label, name, value, valueToString, selectedValue } attributes =
in
Html.span
[ Attributes.id (idValue ++ "-container")
, classList [ ( "Nri-RadioButton-PremiumClass", config.showPennant ) ]
, css
[ position relative
, marginLeft (px -4)