Skip to content

Commit dec1642

Browse files
committed
update readme
1 parent 77f450e commit dec1642

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)