mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-26 15:15:26 +03:00
Adds a note about the clickable text being required
This commit is contained in:
parent
8a99134bd8
commit
7a05940960
@ -14,6 +14,7 @@ import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
|
|||||||
import Nri.Ui.Colors.V1 as Colors
|
import Nri.Ui.Colors.V1 as Colors
|
||||||
import Nri.Ui.DisclosureIndicator.V2 as DisclosureIndicator
|
import Nri.Ui.DisclosureIndicator.V2 as DisclosureIndicator
|
||||||
import Nri.Ui.Fonts.V1 as Fonts
|
import Nri.Ui.Fonts.V1 as Fonts
|
||||||
|
import Nri.Ui.Text.V2 as Text
|
||||||
|
|
||||||
|
|
||||||
{-| -}
|
{-| -}
|
||||||
@ -29,7 +30,8 @@ example parentMessage state =
|
|||||||
{ name = "Nri.Ui.DisclosureIndicator.V2"
|
{ name = "Nri.Ui.DisclosureIndicator.V2"
|
||||||
, category = Widgets
|
, category = Widgets
|
||||||
, content =
|
, content =
|
||||||
[ viewExample ToggleLarge
|
[ Text.smallBodyGray [ Html.text "The disclosure indicator is only the caret. It is NOT a button -- you must create a button or clickabletext yourself!" ]
|
||||||
|
, viewExample ToggleLarge
|
||||||
state.largeState
|
state.largeState
|
||||||
(Css.px 17)
|
(Css.px 17)
|
||||||
(DisclosureIndicator.large [ Css.marginRight (Css.px 10) ] state.largeState)
|
(DisclosureIndicator.large [ Css.marginRight (Css.px 10) ] state.largeState)
|
||||||
|
Loading…
Reference in New Issue
Block a user