File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Online demo: <https://react-component.github.io/tooltip/demo>
82
82
| onVisibleChange | (visible: boolean) => void; | | Callback when visible change |
83
83
| afterVisibleChange | (visible: boolean) => void; | | Callback after visible change |
84
84
| overlay | ReactNode \| () => ReactNode | | tooltip overlay content |
85
- | overlayStyle | object | | style of tooltip overlay |
85
+ | overlayStyle | object | | deprecated, Please use ` styles={{ root: {} }} ` |
86
86
| overlayClassName | string | | className of tooltip overlay |
87
87
| prefixCls | string | 'rc-tooltip' | prefix class name of tooltip |
88
88
| mouseEnterDelay | number | 0 | delay time (in second) before tooltip shows when mouse enter |
@@ -92,6 +92,8 @@ Online demo: <https://react-component.github.io/tooltip/demo>
92
92
| align | object | | align config of tooltip. Please ref demo for usage example |
93
93
| showArrow | boolean \| object | false | whether to show arrow of tooltip |
94
94
| zIndex | number | | config popup tooltip zIndex |
95
+ | classNames | classNames?: { root?: string; inner?: string;}; | | Semantic DOM class |
96
+ | styles | styles?: {root?: React.CSSProperties;inner?: React.CSSProperties;}; | | Semantic DOM styles |
95
97
96
98
## Important Note
97
99
You can’t perform that action at this time.
0 commit comments