mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 22:47:18 +03:00
force delimiters to follow semi
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user