Remove unnecessary React imports from stories

This commit is contained in:
Koen Vlaswinkel
2023-12-22 11:48:00 +01:00
parent 74568b86b1
commit 528f8b951b
44 changed files with 1 additions and 79 deletions

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { CodePaths } from "../../view/common";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { FileCodeSnippet } from "../../view/common";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { ResponsiveContainer as ResponsiveContainerComponent } from "../../view/common/ResponsiveContainer";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import StarCountComponent from "../../view/common/StarCount";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import TextButtonComponent from "../../view/common/TextButton";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { Codicon as CodiconComponent } from "../../../view/common";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import {

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import {

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import {

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import CompareTableComponent from "../../view/compare/CompareTable";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { DataFlowPaths as DataFlowPathsComponent } from "../../view/data-flow-paths/DataFlowPaths";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { MethodAlreadyModeled as MethodAlreadyModeledComponent } from "../../view/method-modeling/MethodAlreadyModeled";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { MethodModeling as MethodModelingComponent } from "../../view/method-modeling/MethodModeling";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { MethodModelingInputs as MethodModelingInputsComponent } from "../../view/method-modeling/MethodModelingInputs";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useCallback, useEffect, useState } from "react";
import { Meta, StoryFn } from "@storybook/react";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { NoMethodSelected as NoMethodSelectedComponent } from "../../view/method-modeling/NoMethodSelected";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { NotInModelingMode as NotInModelingModeComponent } from "../../view/method-modeling/NotInModelingMode";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { InProgressDropdown as InProgressDropdownComponent } from "../../view/model-editor/InProgressDropdown";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { LibraryRow as LibraryRowComponent } from "../../view/model-editor/LibraryRow";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { MethodName as MethodNameComponent } from "../../view/model-editor/MethodName";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useCallback, useEffect, useState } from "react";
import { Meta, StoryFn } from "@storybook/react";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { ModelEditor as ModelEditorComponent } from "../../view/model-editor/ModelEditor";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { action } from "@storybook/addon-actions";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { ResultTablesHeader as ResultTablesHeaderComponent } from "../../view/results/ResultTablesHeader";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { ClickableLocation as ClickableLocationComponent } from "../../../view/results/locations/ClickableLocation";

View File

@@ -5,7 +5,7 @@
"target": "es6",
"outDir": "out",
"lib": ["ES2021", "dom"],
"jsx": "react",
"jsx": "react-jsx",
"sourceMap": true,
"rootDir": "../../..",
"strict": true,

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import AnalysisAlertResult from "../../view/variant-analysis/AnalysisAlertResult";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisFailureReason } from "../../variant-analysis/shared/variant-analysis";
import { FailureReasonAlert } from "../../view/variant-analysis/FailureReasonAlert";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta } from "@storybook/react";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta } from "@storybook/react";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta } from "@storybook/react";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta } from "@storybook/react";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta } from "@storybook/react";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysis as VariantAnalysisComponent } from "../../view/variant-analysis/VariantAnalysis";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { faker } from "@faker-js/faker";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,4 +1,3 @@
import * as React from "react";
import { useState } from "react";
import { Meta, StoryFn } from "@storybook/react";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";

View File

@@ -1,5 +1,3 @@
import * as React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { VariantAnalysisContainer } from "../../view/variant-analysis/VariantAnalysisContainer";