mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 00:42:29 +03:00
Adds balloon example
This commit is contained in:
parent
0a0d008d02
commit
cf319c6423
@ -112,6 +112,7 @@ preview_ navigate example =
|
||||
, Container.html
|
||||
(ClickableText.link example.name
|
||||
[ ClickableText.href (exampleHref example)
|
||||
, ClickableText.css [ Css.marginBottom (Css.px 10) ]
|
||||
]
|
||||
:: List.map (Html.map never) example.preview
|
||||
)
|
||||
|
@ -29,7 +29,14 @@ example =
|
||||
, state = init
|
||||
, update = update
|
||||
, subscriptions = \_ -> Sub.none
|
||||
, preview = []
|
||||
, preview =
|
||||
[ Balloon.balloon
|
||||
[ Balloon.onTop
|
||||
, Balloon.navy
|
||||
, Balloon.paddingPx 4
|
||||
]
|
||||
(text "This is a balloon.")
|
||||
]
|
||||
, view = view
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@ preview icons =
|
||||
[ css
|
||||
[ Css.displayFlex
|
||||
, Css.justifyContent Css.spaceBetween
|
||||
, Css.marginTop (Css.px 8)
|
||||
, Css.color Colors.gray45
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user