+
+
+
+
+
+
+
+
+
+);
+
+export default TwoButtonsDemo;
diff --git a/package.json b/package.json
index ab74697..81028fe 100644
--- a/package.json
+++ b/package.json
@@ -41,8 +41,8 @@
"test": "rc-test"
},
"dependencies": {
- "@rc-component/trigger": "^3.0.0",
- "@rc-component/util": "^1.0.1",
+ "@rc-component/trigger": "^3.6.0",
+ "@rc-component/util": "^1.3.0",
"classnames": "^2.3.1"
},
"devDependencies": {
diff --git a/src/Tooltip.tsx b/src/Tooltip.tsx
index c0d98b2..bc14731 100644
--- a/src/Tooltip.tsx
+++ b/src/Tooltip.tsx
@@ -45,6 +45,11 @@ export interface TooltipProps
zIndex?: number;
styles?: TooltipStyles;
classNames?: TooltipClassNames;
+ /**
+ * Configures Tooltip to reuse the background for transition usage.
+ * This is an experimental API and may not be stable.
+ */
+ unique?: TriggerProps['unique'];
}
export interface TooltipStyles {