gantri-components 2.73.1-beta.2 → 2.73.1-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,8 @@ export interface OverlayProps {
11
11
  content: ReactNode;
12
12
  contentStyles?: CSSProperties;
13
13
  disabled?: boolean;
14
- /** Optional. If you provide a single key for multiple overlays, it will replace the last overlay with that key with the new one. */
15
- key?: string;
14
+ /** Optional. If you provide the same id for multiple overlays, it will replace the last overlay with the new one. */
15
+ groupId?: string;
16
16
  offsetBottom?: string;
17
17
  offsetLeft?: string;
18
18
  offsetRight?: string;
@@ -8,7 +8,7 @@ import { TooltipProps } from './tooltip.types';
8
8
  * </Tooltip>
9
9
  *
10
10
  * // With custom content
11
- * <Tooltip content={<div>CUSTOM_CONTENT</div>}>
11
+ * <Tooltip Component={<div>CUSTOM_CONTENT</div>}>
12
12
  * {ALWAYS_VISIBLE_TRIGGER}
13
13
  * </Tooltip>
14
14
  */
@@ -12,8 +12,8 @@ type TooltipBaseProps = Partial<TooltipDefaultProps> & {
12
12
  closeDelay?: number;
13
13
  description?: string;
14
14
  descriptionTx?: string;
15
- /** Optional. If you provide a single key for multiple tooltips, it will replace the last tooltip with that key with the new one. */
16
- key?: string;
15
+ /** Optional. If you provide the same id for multiple tooltips, it will replace the last tooltip with the new one. */
16
+ groupId?: string;
17
17
  title?: string;
18
18
  titleTx?: string;
19
19
  };