mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +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
|
||||
, guidance : Guidance
|
||||
, error : ErrorState
|
||||
, showPennant : Bool
|
||||
, hideLabel : Bool
|
||||
, containerCss : List Css.Style
|
||||
, custom : List (Html.Attribute Never)
|
||||
@ -232,7 +231,6 @@ emptyConfig =
|
||||
, isDisabled = False
|
||||
, guidance = InputErrorAndGuidanceInternal.noGuidance
|
||||
, error = InputErrorAndGuidanceInternal.noError
|
||||
, showPennant = False
|
||||
, hideLabel = False
|
||||
, containerCss = []
|
||||
, custom = []
|
||||
@ -313,7 +311,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)
|
||||
|
Loading…
Reference in New Issue
Block a user