diff --git a/src/components/host/HostTable.stories.js b/src/components/host/HostTable.stories.js deleted file mode 100644 index 3b76edacc6bc3e80ebf6801aecba1b3c054481c6..0000000000000000000000000000000000000000 --- a/src/components/host/HostTable.stories.js +++ /dev/null @@ -1,40 +0,0 @@ -import React from "react"; -import { Container } from "@mui/material"; -import hosts from "../../mocks/fixtures/PagedCSEntryHostResponse.json"; -import { HostTable } from "./HostTable"; -import { RouterHarness } from "../../mocks/AppHarness"; - -export default { - title: "Host/HostTable", - component: HostTable -}; - -const Template = (args) => ( - <RouterHarness> - <Container> - <HostTable {...args} /> - </Container> - </RouterHarness> -); - -export const Empty = Template.bind({}); -Empty.args = { - loading: false, - hosts: [], - totalCount: 0, - rowsPerPage: [5, 10, 20, 50, 100], - lazyParams: { rows: 10, page: 0 }, - columnSort: { sortField: null, sortOrder: null }, - setLazyParams: () => {}, - setColumnSort: () => {} -}; - -export const EmptyLoading = Template.bind({}); -EmptyLoading.args = { ...Empty.args, loading: true }; - -export const Populated = Template.bind({}); -Populated.args = { - ...Empty.args, - totalCount: hosts.totalCount, - hosts: hosts.csEntryHosts -}; diff --git a/src/views/login/LoginView.stories.js b/src/views/login/LoginView.stories.js deleted file mode 100644 index 5f50a691f44794a04bd1c1b80d7ed175d10279a2..0000000000000000000000000000000000000000 --- a/src/views/login/LoginView.stories.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from "react"; -import { AppHarness } from "../../mocks/AppHarness"; -import { LoginView } from "./LoginView"; - -export default { - title: "Views/Login/LoginView", - component: LoginView -}; - -const Template = (args) => ( - <AppHarness initialHistory={["/login"]}> - <LoginView {...args} /> - </AppHarness> -); - -export const Default = Template.bind({}); -Default.args = {}; diff --git a/src/views/statistics/StatisticsView.stories.js b/src/views/statistics/StatisticsView.stories.js deleted file mode 100644 index 4e72d3a24ce22f22580bf26f92f53a4834af22f4..0000000000000000000000000000000000000000 --- a/src/views/statistics/StatisticsView.stories.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from "react"; -import { StatisticsView } from "./StatisticsView"; -import { AppHarness } from "../../mocks/AppHarness"; - -export default { - title: "Views/Statistics/StatisticsView", - component: StatisticsView -}; - -const Template = (args) => ( - <AppHarness> - <StatisticsView {...args} /> - </AppHarness> -); - -export const Default = Template.bind({}); -Default.args = {};