Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
docs(Tooltip): Add Tooltip documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg-Hamel committed May 30, 2018
1 parent 8eec3b0 commit 62487d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Tooltip/Tooltip.examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Basic Tooltip

```jsx
<Tooltip content="Tooltip" placement="top">
<Tag>Hover Me!</Tag>
</Tooltip>
```
4 changes: 4 additions & 0 deletions styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ module.exports = {
name: "Text",
components: "src/components/Text/**/*.react.{js,jsx}",
},
{
name: "Tooltip",
components: "src/components/Tooltip/**/*.react.{js,jsx}",
},
],
},
{
Expand Down

0 comments on commit 62487d5

Please sign in to comment.