Skip to content

Commit cd7f5ba

Browse files
docs: arrow color
1 parent d226a16 commit cd7f5ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: docs/docs/options.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,5 @@ import { Tooltip } from 'react-tooltip';
123123
| `middlewares` | `Middleware[]` | no | | array of valid `floating-ui` middlewares | Allows for advanced customization. Check the [`floating-ui` docs](https://floating-ui.com/docs/middleware) for more information |
124124
| `border` | `CSSProperties['border']` | no | | a CSS border style | Change the style of the tooltip border (including the arrow) |
125125
| `opacity` | `CSSProperties['opacity']` | no | `0.9` | a CSS opacity value | Change the opacity of the tooltip |
126+
| `arrowColor` | `CSSProperties['backgroundColor']` | no | | a CSS background color | Change color of the tooltip arrow |
126127
| `disableStyleInjection` | <code>`boolean` &#124; `'core'`</code> | no | `false` | `true` `false` `'core'` | Whether to disable automatic style injection. Do not set dynamically. Check the [styling page](./examples/styling#disabling-reacttooltip-css) for more details |

Diff for: docs/docs/upgrade-guide/changelog-v4-v5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you run into any problems with the tooltip not updating after changes are mad
6868
- [ ] `textColor` - use `className` and custom CSS
6969
- [ ] `backgroundColor` - use `className` and custom CSS
7070
- [ ] `borderColor` - use `border` prop
71-
- [ ] `arrowColor` - use `className` and custom CSS
71+
- [x] `arrowColor`
7272
- [ ] `arrowRadius` - use `className` and custom CSS
7373
- [ ] `tooltipRadius` - use `className` and custom CSS
7474
- [ ] `insecure`

0 commit comments

Comments
 (0)