add more realistic example

This commit is contained in:
brookeangel 2019-09-30 12:19:12 -07:00
parent 49445c43ec
commit 0c6a6e35d5

View File

@ -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
}