mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-19 19:51:37 +03:00
💀 remove unused bool from internal radio button config
This commit is contained in:
parent
0de05a7065
commit
52eac4b7f5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user