mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add optional parameter to rc-tooltip onVisibleChange
The onVisibleChange includes a visible boolean that can be used. See: https://github.com/react-component/tooltip/blob/069f7e1baf1c02344cb25bbbbea93be2ffbcdcee/src/Tooltip.jsx#L93 https://github.com/react-component/trigger/blob/6e3c43735fb4a3352c6d22395fa977d8940f65a4/src/index.js#L417
This commit is contained in:
Vendored
+1
-1
@@ -23,7 +23,7 @@ declare namespace RCTooltip {
|
||||
overlayStyle?: React.CSSProperties;
|
||||
prefixCls?: string;
|
||||
transitionName?: string;
|
||||
onVisibleChange?: () => void;
|
||||
onVisibleChange?: (visible?: boolean) => void;
|
||||
visible?: boolean;
|
||||
defaultVisible?: boolean;
|
||||
placement?: Placement | Object;
|
||||
|
||||
Reference in New Issue
Block a user