diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index c3767b545..de6b99c0c 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -1,14 +1,7 @@ import * as React from "react"; import { RouteComponentProps } from "react-router"; import "isomorphic-fetch"; -import MuiThemeProvider from "material-ui/styles/MuiThemeProvider"; -import { - Table, - TableHead, - TableBody, - TableRow, - TableCell, - } from "material-ui"; +import { Table } from 'antd'; interface IFilterListsState { filterLists: IFilterList[]; @@ -40,26 +33,12 @@ export class Home extends React.Component, IFilterListsS : Home.renderFilterListsTable(this.state.filterLists); return
- {contents} -
; } private static renderFilterListsTable(filterLists: IFilterList[]) { return - - - List - - - - {filterLists.map(filterList => - -

{filterList.name}

{filterList.description}
-
- )} -
; } } \ No newline at end of file diff --git a/src/FilterLists.Web/package-lock.json b/src/FilterLists.Web/package-lock.json new file mode 100644 index 000000000..d1bb06c94 Binary files /dev/null and b/src/FilterLists.Web/package-lock.json differ diff --git a/src/FilterLists.Web/package.json b/src/FilterLists.Web/package.json index 3668bf6c1..77965cd69 100644 --- a/src/FilterLists.Web/package.json +++ b/src/FilterLists.Web/package.json @@ -4,7 +4,6 @@ "version": "0.0.0", "devDependencies": { "@types/history": "latest", - "@types/material-ui": "latest", "@types/react": "latest", "@types/react-dom": "latest", "@types/react-hot-loader": "latest", @@ -33,6 +32,6 @@ "webpack-hot-middleware": "latest" }, "dependencies": { - "material-ui": "next" + "antd": "latest" } } \ No newline at end of file