From 21832f8bdfec28721103e599beb7eb04b092df6d Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Sat, 15 Sep 2018 11:54:42 -0500 Subject: [PATCH] re-org home components --- src/FilterLists.Web/ClientApp/modules/home/Home.tsx | 4 +--- .../modules/home/{ => components}/ListsTable.tsx | 0 .../ClientApp/modules/home/{ => components}/Tagline.tsx | 0 .../ClientApp/modules/home/components/index.ts | 8 +++++++- 4 files changed, 8 insertions(+), 4 deletions(-) rename src/FilterLists.Web/ClientApp/modules/home/{ => components}/ListsTable.tsx (100%) rename src/FilterLists.Web/ClientApp/modules/home/{ => components}/Tagline.tsx (100%) diff --git a/src/FilterLists.Web/ClientApp/modules/home/Home.tsx b/src/FilterLists.Web/ClientApp/modules/home/Home.tsx index 0121f1fe2..36392701c 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/Home.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/Home.tsx @@ -2,9 +2,7 @@ import * as React from "react"; import { IListDto } from "./IListDto"; import { ISoftwareDto } from "./ISoftwareDto"; import { ILanguageDto } from "./ILanguageDto"; -import { Tagline } from "./Tagline"; -import { ListsTable } from "./ListsTable"; -import { IColumnVisibility } from "./ListsTable"; +import { Tagline, ListsTable, IColumnVisibility } from "./components"; const columnVisibilityDefaults = [ { column: "Software", visible: true }, diff --git a/src/FilterLists.Web/ClientApp/modules/home/ListsTable.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/ListsTable.tsx similarity index 100% rename from src/FilterLists.Web/ClientApp/modules/home/ListsTable.tsx rename to src/FilterLists.Web/ClientApp/modules/home/components/ListsTable.tsx diff --git a/src/FilterLists.Web/ClientApp/modules/home/Tagline.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/Tagline.tsx similarity index 100% rename from src/FilterLists.Web/ClientApp/modules/home/Tagline.tsx rename to src/FilterLists.Web/ClientApp/modules/home/components/Tagline.tsx diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/index.ts b/src/FilterLists.Web/ClientApp/modules/home/components/index.ts index 0bfa78841..4b538e956 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/index.ts +++ b/src/FilterLists.Web/ClientApp/modules/home/components/index.ts @@ -1,5 +1,11 @@ import { DetailsExpander } from "./detailsExpander"; +import { ListsTable } from "./ListsTable"; +import { IColumnVisibility } from "./ListsTable"; +import { Tagline } from "./Tagline"; export { - DetailsExpander + DetailsExpander, + ListsTable, + IColumnVisibility, + Tagline }; \ No newline at end of file