aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/RectangleTooltip.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/RectangleTooltip.tsx')
-rw-r--r--src/render/RectangleTooltip.tsx24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/render/RectangleTooltip.tsx b/src/render/RectangleTooltip.tsx
index 06cbd251..1b357fa8 100644
--- a/src/render/RectangleTooltip.tsx
+++ b/src/render/RectangleTooltip.tsx
@@ -2,18 +2,18 @@ import * as React from "react";
import { createRoot, Root } from 'react-dom/client';
export interface RectangleTooltipProps {
- text: string,
- link?: string,
- referenceNode: HTMLElement,
- prependElement?: HTMLElement, // Element to append before
- bottomOffset?: string,
- leftOffset?: string,
- timeout?: number,
- htmlId?: string,
- maxHeight?: string,
- maxWidth?: string,
- backgroundColor?: string,
- fontSize?: string,
+ text: string;
+ link?: string;
+ referenceNode: HTMLElement;
+ prependElement?: HTMLElement; // Element to append before
+ bottomOffset?: string;
+ leftOffset?: string;
+ timeout?: number;
+ htmlId?: string;
+ maxHeight?: string;
+ maxWidth?: string;
+ backgroundColor?: string;
+ fontSize?: string;
buttonFunction?: () => void;
}