mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 22:21:45 +03:00
Merge pull request #793 from NoRedInk/kraken/internal-radio-cleanup
💀 remove unused bool from internal radio button config
This commit is contained in:
commit
b4e693fed4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user