From 6a20cff0939f1cde67fa3177c039147539fd1cbd Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Tue, 9 Jan 2024 13:12:46 +0100 Subject: [PATCH] :wastebasket: #3 - refactor: remove test component --- src/components/index.ts | 1 - src/components/test/index.ts | 1 - src/components/test/test.css | 3 --- src/components/test/test.stories.tsx | 17 ----------------- src/components/test/test.tsx | 19 ------------------- 5 files changed, 41 deletions(-) delete mode 100644 src/components/test/index.ts delete mode 100644 src/components/test/test.css delete mode 100644 src/components/test/test.stories.tsx delete mode 100644 src/components/test/test.tsx diff --git a/src/components/index.ts b/src/components/index.ts index d00b875d..6c09c00a 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,2 @@ // Auto-generated file. Do not modify manually. export * from "./logo"; -export * from "./test"; diff --git a/src/components/test/index.ts b/src/components/test/index.ts deleted file mode 100644 index 481fabad..00000000 --- a/src/components/test/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./test"; diff --git a/src/components/test/test.css b/src/components/test/test.css deleted file mode 100644 index 3ea879c1..00000000 --- a/src/components/test/test.css +++ /dev/null @@ -1,3 +0,0 @@ -.test { - /* Rules here. */ -} diff --git a/src/components/test/test.stories.tsx b/src/components/test/test.stories.tsx deleted file mode 100644 index 8d4f230b..00000000 --- a/src/components/test/test.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import type { Meta, StoryObj } from "@storybook/react"; - -import { Test } from "./test"; - -const meta = { - title: "Components/Test", - component: Test, -} satisfies Meta; - -export default meta; -type Story = StoryObj; - -export const TestComponent: Story = { - args: { - children: "The quick brown fox jumps over the lazy dog.", - }, -}; diff --git a/src/components/test/test.tsx b/src/components/test/test.tsx deleted file mode 100644 index 6e0b6157..00000000 --- a/src/components/test/test.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import React from "react"; - -import "./test.css"; - -export type TestProps = React.PropsWithChildren<{ - // Props here. -}>; - -/** - * Test component - * @param children - * @param props - * @constructor - */ -export const Test: React.FC = ({ children, ...props }) => ( -
- {children} -
-);