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>
8282| onVisibleChange | (visible: boolean) => void; | | Callback when visible change |
8383| afterVisibleChange | (visible: boolean) => void; | | Callback after visible change |
8484| overlay | ReactNode \| () => ReactNode | | tooltip overlay content |
85- | overlayStyle | object | | style of tooltip overlay |
85+ | overlayStyle | object | | deprecated, Please use ` styles={{ root: {} }} ` |
8686| overlayClassName | string | | className of tooltip overlay |
8787| prefixCls | string | 'rc-tooltip' | prefix class name of tooltip |
8888| 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>
9292| align | object | | align config of tooltip. Please ref demo for usage example |
9393| showArrow | boolean \| object | false | whether to show arrow of tooltip |
9494| 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 |
9597
9698## Important Note
9799
You can’t perform that action at this time.
0 commit comments