diff options
author | Michael C <[email protected]> | 2022-10-07 20:51:58 -0400 |
---|---|---|
committer | Michael C <[email protected]> | 2022-10-07 20:51:58 -0400 |
commit | a09885803510cb73bdd42b8bba94d04950f84658 (patch) | |
tree | c8884d86218bb5726692d5be89fa825ec3928539 /src/render | |
parent | 81e85c19ae88c78d90610e94df6ce3a771234711 (diff) | |
download | SponsorBlock-a09885803510cb73bdd42b8bba94d04950f84658.tar.gz SponsorBlock-a09885803510cb73bdd42b8bba94d04950f84658.zip |
force delimiters to follow semi
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/GenericNotice.tsx | 16 | ||||
-rw-r--r-- | src/render/RectangleTooltip.tsx | 24 |
2 files changed, 20 insertions, 20 deletions
diff --git a/src/render/GenericNotice.tsx b/src/render/GenericNotice.tsx index 4e01bcac..f3cc7a2e 100644 --- a/src/render/GenericNotice.tsx +++ b/src/render/GenericNotice.tsx @@ -9,17 +9,17 @@ import { ButtonListener, ContentContainer } from "../types"; import NoticeTextSelectionComponent from "../components/NoticeTextSectionComponent"; export interface TextBox { - icon: string, - text: string + icon: string; + text: string; } export interface NoticeOptions { - title: string, - referenceNode?: HTMLElement, - textBoxes?: TextBox[], - buttons?: ButtonListener[], - fadeIn?: boolean, - timed?: boolean + title: string; + referenceNode?: HTMLElement; + textBoxes?: TextBox[]; + buttons?: ButtonListener[]; + fadeIn?: boolean; + timed?: boolean; style?: React.CSSProperties; extraClass?: string; maxCountdownTime?: () => number; 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; } |