Format code
This commit is contained in:
parent
f990b0e39b
commit
7601fca2f7
3 changed files with 8 additions and 4 deletions
|
|
@ -3,8 +3,8 @@ import type { FC } from "react";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Tooltip as ReactTooltip } from "react-tooltip";
|
import { Tooltip as ReactTooltip } from "react-tooltip";
|
||||||
import "react-tooltip/dist/react-tooltip.css";
|
import "react-tooltip/dist/react-tooltip.css";
|
||||||
import { classNames } from "../../utils/utils";
|
|
||||||
import { TooltipProps } from "../../types/components";
|
import { TooltipProps } from "../../types/components";
|
||||||
|
import { classNames } from "../../utils/utils";
|
||||||
|
|
||||||
const TooltipReact: FC<TooltipProps> = ({
|
const TooltipReact: FC<TooltipProps> = ({
|
||||||
selector,
|
selector,
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,12 @@ import {
|
||||||
useState,
|
useState,
|
||||||
} from "react";
|
} from "react";
|
||||||
import { useReactFlow } from "reactflow";
|
import { useReactFlow } from "reactflow";
|
||||||
|
import {
|
||||||
|
HistoryItem,
|
||||||
|
UseUndoRedoOptions,
|
||||||
|
undoRedoContextType,
|
||||||
|
} from "../types/typesContext";
|
||||||
import { TabsContext } from "./tabsContext";
|
import { TabsContext } from "./tabsContext";
|
||||||
import { undoRedoContextType, UseUndoRedoOptions , UseUndoRedo, HistoryItem } from "../types/typesContext";
|
|
||||||
|
|
||||||
const initialValue = {
|
const initialValue = {
|
||||||
undo: () => {},
|
undo: () => {},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { ReactFlowInstance, Edge, Node } from "reactflow";
|
import { Edge, Node, ReactFlowInstance } from "reactflow";
|
||||||
import { APIClassType } from "../api";
|
|
||||||
import { AlertItemType } from "../alerts";
|
import { AlertItemType } from "../alerts";
|
||||||
|
import { APIClassType } from "../api";
|
||||||
|
|
||||||
const types: { [char: string]: string } = {};
|
const types: { [char: string]: string } = {};
|
||||||
const template: { [char: string]: APIClassType } = {};
|
const template: { [char: string]: APIClassType } = {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue