From f14ff1ea4f2ba68d6bc14e46107c60f921b7173c Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Fri, 24 Jul 2020 14:36:05 -0400 Subject: [PATCH] Bump to phosphor-react@0.1.6 --- package.json | 3 ++- src/lib/icons.ts | 2 +- src/lib/index.ts | 6 ++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b171f03..aff79d0 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@types/react-list": "^0.8.5", "@types/react-virtualized": "^9.21.10", "framer-motion": "^2.1.0", - "phosphor-react": "^0.1.2", + "phosphor-react": "^0.1.6", "react": "^16.13.1", "react-dom": "^16.13.1", "react-list": "^0.8.15", @@ -24,6 +24,7 @@ "typescript": "^3.9.6" }, "scripts": { + "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", diff --git a/src/lib/icons.ts b/src/lib/icons.ts index 35fbd81..b30499f 100644 --- a/src/lib/icons.ts +++ b/src/lib/icons.ts @@ -302,7 +302,7 @@ export const icons: Readonly = [ { name: "user-circle", categories: [IconCategory.USERS], - tags: ["person", "users", "account", "login", "circle"], + tags: ["person", "users", "account", "login", "round"], Icon: Icon.UserCircle, }, { diff --git a/src/lib/index.ts b/src/lib/index.ts index 97f276f..ebf5517 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,4 +1,4 @@ -import { IconProps } from "phosphor-react/dist/lib/Icon"; +import { Icon } from "phosphor-react"; export enum IconStyle { THIN = "thin", @@ -32,7 +32,5 @@ export interface IconEntry { name: string; categories: IconCategory[]; tags: string[]; - Icon: React.ForwardRefExoticComponent< - IconProps & React.RefAttributes - >; + Icon: Icon; }