Skip to content

Commit

Permalink
Merge pull request #403 from dennisja/make-tooltip-title-visible
Browse files Browse the repository at this point in the history
Make Tooltip title visible under component section in the vx-tooltip readme file
  • Loading branch information
hshoff authored Jan 7, 2019
2 parents da07277 + 889c515 commit e2a0e9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vx-tooltip/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Chart extends React.Component {
} = this.props;

return (
// note React.Frament is only available in >= react@16.2
// note React.Fragment is only available in >= react@16.2
<React.Fragment>
<svg width={...} height={...}>
// Chart here...
Expand Down Expand Up @@ -80,7 +80,7 @@ You may override the container by specifying `containerProps` as the second argu


### Components
#### <Tooltip />
#### Tooltip
This is a simple Tooltip container component meant to be used to actually render a Tooltip. It accepts the following props, and will spread any additional props on the tooltip container div (i.e., ...restProps):

| Name | Type | Default | Description |
Expand All @@ -104,4 +104,4 @@ This tooltip component is exactly the same as `Tooltip` above, but it is aware o
| style | object | -- | Sets / overrides any styles on the tooltip container (including top and left)
| children | node | -- | Sets the children of the tooltip, i.e., the actual content

Note that this component is positioned using a `tranform`, so overriding `left` and `top` via styles may have no effect.
Note that this component is positioned using a `transform`, so overriding `left` and `top` via styles may have no effect.

0 comments on commit e2a0e9d

Please sign in to comment.