From 0233fbf682d6e2a04a515b06c7235fdea696074d Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Tue, 4 Aug 2020 18:30:25 -0700 Subject: [PATCH] Add some more info on difference between view and viewSelect --- styleguide-app/Examples/SegmentedControl.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styleguide-app/Examples/SegmentedControl.elm b/styleguide-app/Examples/SegmentedControl.elm index 59cc24c7..6526953e 100644 --- a/styleguide-app/Examples/SegmentedControl.elm +++ b/styleguide-app/Examples/SegmentedControl.elm @@ -43,7 +43,7 @@ example = , Html.h3 [ css [ Css.marginBottom Css.zero ] ] [ Html.code [] [ Html.text "view" ] ] , Html.p [ css [ Css.marginTop (Css.px 1) ] ] - [ Html.text "Use when you need a page control." ] + [ Html.text "Use when you need a page control. This view is effectively a fancy Tab/Tabpanel pairing." ] , SegmentedControl.view { onClick = SelectNav , options = buildOptions "Choice " options (List.range 1 options.count) coloredIcons @@ -55,7 +55,7 @@ example = , Html.h3 [ css [ Css.marginBottom Css.zero ] ] [ Html.code [] [ Html.text "viewSelect" ] ] , Html.p [ css [ Css.marginTop (Css.px 1) ] ] - [ Html.text "Use when you only need the ui element." ] + [ Html.text "Use when you only need the ui element. This view is effectively a fancy Radio button." ] , SegmentedControl.viewSelect { onClick = MaybeSelect , options = buildOptions "Source " options (List.range 1 options.count) plainIcons