mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 09:12:33 +03:00
add more realistic example
This commit is contained in:
parent
49445c43ec
commit
0c6a6e35d5
@ -17,11 +17,11 @@ Example usage:
|
||||
tooltip [ Html.text "Gradebook" ]
|
||||
|> withPadding SmallPadding
|
||||
|> withWidth FitToContent
|
||||
|> asPrimaryLabel {
|
||||
trigger : Trigger
|
||||
, triggerHtml : Html msg
|
||||
, onTrigger : Bool -> msg
|
||||
, isOpen : Bool
|
||||
|> primaryLabel {
|
||||
trigger : OnClick
|
||||
, triggerHtml : someTriggerHtml
|
||||
, onTrigger : MyOnTriggerMsg
|
||||
, isOpen : True
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user