Skip to content

Commit

Permalink
chore(docs): additional Tooltip Hook documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Apr 21, 2021
1 parent d0fda80 commit 5447f64
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
Starting with `react-md@2.8.0`, the `@react-md/tooltip` package exports the
`useTooltip` hook which allows you to implement custom tooltip behavior.
`useTooltip` hook which allows you to implement custom tooltip behavior. The
example below will show the most common use case for this hook.

You can also check out the
[TooltipHookOptions]({{GITHUB_FILE_URL}}/packages/tooltip/src/useTooltip.ts#L206)
and
[TooltipHookReturnValue]({{GITHUB_FILE_URL}}/packages/tooltip/src/useTooltip.ts#L252)
for additional documentation.

0 comments on commit 5447f64

Please sign in to comment.