mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 00:34:27 +03:00
Fix example
This commit is contained in:
parent
1c665d8346
commit
37800509da
@ -11,6 +11,7 @@ import Category exposing (Category(..))
|
||||
import Color exposing (Color)
|
||||
import Css
|
||||
import Debug.Control as Control exposing (Control)
|
||||
import EventExtras
|
||||
import Example exposing (Example)
|
||||
import Examples.IconExamples as IconExamples
|
||||
import Html.Styled as Html exposing (Html)
|
||||
@ -53,8 +54,8 @@ Tooltip.view
|
||||
\\attrs ->
|
||||
ClickableSvg.button "Preview"
|
||||
UiIcon.preview
|
||||
[ ClickableSvg.onClick (ShowItWorked "You clicked the preview button!")
|
||||
, ClickableSvg.custom attrs
|
||||
[ ClickableSvg.custom attrs,
|
||||
, ClickableSvg.custom [ EventExtras.onClickStopPropagation (ShowItWorked "You clicked the preview button!") ]
|
||||
]
|
||||
, id = "preview-tooltip"
|
||||
}
|
||||
@ -72,8 +73,8 @@ Tooltip.view
|
||||
\attrs ->
|
||||
ClickableSvg.button "Preview"
|
||||
UiIcon.preview
|
||||
[ ClickableSvg.onClick (ShowItWorked "You clicked the preview button!")
|
||||
, ClickableSvg.custom attrs
|
||||
[ ClickableSvg.custom attrs
|
||||
, ClickableSvg.custom [ EventExtras.onClickStopPropagation (ShowItWorked "You clicked the preview button!") ]
|
||||
]
|
||||
, id = "preview-tooltip"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user