File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,16 @@ import { placements } from './placements';
7
7
import Popup from './Popup' ;
8
8
9
9
export interface TooltipProps
10
- extends Pick < TriggerProps , 'onPopupAlign' | 'builtinPlacements' | 'fresh' > {
10
+ extends Pick <
11
+ TriggerProps ,
12
+ | 'onPopupAlign'
13
+ | 'builtinPlacements'
14
+ | 'fresh'
15
+ | 'children'
16
+ | 'mouseLeaveDelay'
17
+ | 'mouseEnterDelay'
18
+ | 'prefixCls'
19
+ > {
11
20
trigger ?: ActionType | ActionType [ ] ;
12
21
defaultVisible ?: boolean ;
13
22
visible ?: boolean ;
@@ -23,16 +32,12 @@ export interface TooltipProps
23
32
overlay : ( ( ) => React . ReactNode ) | React . ReactNode ;
24
33
overlayStyle ?: React . CSSProperties ;
25
34
overlayClassName ?: string ;
26
- prefixCls ?: string ;
27
- mouseEnterDelay ?: number ;
28
- mouseLeaveDelay ?: number ;
29
35
getTooltipContainer ?: ( node : HTMLElement ) => HTMLElement ;
30
36
destroyTooltipOnHide ?: boolean ;
31
37
align ?: AlignType ;
32
38
showArrow ?: boolean | ArrowType ;
33
39
arrowContent ?: React . ReactNode ;
34
40
id ?: string ;
35
- children ?: React . ReactElement ;
36
41
overlayInnerStyle ?: React . CSSProperties ;
37
42
zIndex ?: number ;
38
43
}
You can’t perform that action at this time.
0 commit comments