Skip to content

Commit 27d0025

Browse files
Fix README according to last API changes
1 parent ac07e2c commit 27d0025

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ Modifiers, applied by default:
221221
}
222222
```
223223

224-
You also have the ability to attach ref to the `TooltipTrigger` component which exposes following methods for programmatic control of the tooltip:
224+
You also have the ability to attach ref to the `TooltipTrigger` component which exposes following
225+
methods for programmatic control of the tooltip:
225226
- `showTooltip` (show immediately)
226227
- `hideTooltip` (hide immediately)
227228
- `toggleTooltip` (toggle immediately)
@@ -270,7 +271,7 @@ yourself to avoid your props being overridden (or overriding the props returned)
270271
| --------------- | -------------- | ---------------------------------------------------------------------- |
271272
| getTooltipProps | `function({})` | returns the props you should apply to the tooltip element you render. |
272273
| tooltipRef | `node` | return the react ref you should apply to the tooltip element. |
273-
| arrowStyle | `object` | return the styles you should apply to the tooltip arrow style attr. |
274+
| getArrowProps | `function({})` | return the props you should apply to the tooltip arrow element. |
274275
| arrowRef | `node` | return the react ref you should apply to the tooltip arrow you render. |
275276
| placement | `string` | return the placement of the tooltip arrow element. |
276277

0 commit comments

Comments
 (0)