💀 remove unused bool from internal radio button config

This commit is contained in:
Tessa Kelly 2021-12-02 10:36:12 -08:00
parent 0de05a7065
commit 52eac4b7f5

View File

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