From e9780914b2fdcb637ce8c9dc52a5d579f97d74f2 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 15 Mar 2020 15:39:38 -0500 Subject: [PATCH] fix icon warnings in ListInfoDrawer --- .../listInfoDrawer/ListInfoDrawer.tsx | 47 ++++++++++++------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx index 7a83652d9..4ac25497d 100644 --- a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx +++ b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx @@ -1,26 +1,37 @@ import "./listInfoDrawer.css"; import { Divider, Drawer } from "antd"; -import ButtonGroup from "antd/lib/button/button-group"; +import { + DollarOutlined, + FileExclamationOutlined, + FormOutlined, + GithubOutlined, + HomeOutlined, + MailOutlined, + MessageOutlined, + SearchOutlined, + TeamOutlined +} from "@ant-design/icons"; import React, { useEffect, useState } from "react"; -import { RouteComponentProps } from "react-router-dom"; -import { Language } from "../../interfaces/Language"; -import { License } from "../../interfaces/License"; -import { List } from "../../interfaces/List"; -import { Maintainer } from "../../interfaces/Maintainer"; -import { Software } from "../../interfaces/Software"; -import { Syntax } from "../../interfaces/Syntax"; -import { Tag } from "../../interfaces/Tag"; +import ButtonGroup from "antd/lib/button/button-group"; import { Description } from "../Description"; +import { Language } from "../../interfaces/Language"; import { LanguageCloud } from "../languageCloud"; +import { License } from "../../interfaces/License"; import { LicenseTag } from "../LicenseTag"; import { LinkButton } from "../LinkButton"; +import { List } from "../../interfaces/List"; +import { Maintainer } from "../../interfaces/Maintainer"; import { Maintainers } from "../maintainers"; import { PublishedDate } from "../PublishedDate"; +import { RouteComponentProps } from "react-router-dom"; +import { Software } from "../../interfaces/Software"; import { SoftwareCloud } from "../softwareCloud"; import { SubscribeButtons } from "../SubscribeButtons"; +import { Syntax } from "../../interfaces/Syntax"; import { SyntaxTag } from "../SyntaxTag"; +import { Tag } from "../../interfaces/Tag"; import { TagCloud } from "../tagCloud"; interface Props { @@ -87,57 +98,57 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => { url={props.list.viewUrl} text="View" title={`View ${props.list.name} in its raw format`} - icon="search" + icon={} /> } /> } /> {props.list.emailAddress && ( } /> )} } /> } /> } /> } /> } />