From 0c6a6e35d5fb9ffafae20ab6cd6e5f05d2c6024a Mon Sep 17 00:00:00 2001 From: brookeangel Date: Mon, 30 Sep 2019 12:19:12 -0700 Subject: [PATCH] add more realistic example --- src/Nri/Ui/Tooltip/V1.elm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Nri/Ui/Tooltip/V1.elm b/src/Nri/Ui/Tooltip/V1.elm index 13981171..acab7cd1 100644 --- a/src/Nri/Ui/Tooltip/V1.elm +++ b/src/Nri/Ui/Tooltip/V1.elm @@ -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 }