From 57f77d6b83438ead26854999025e160b2198e157 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Sat, 22 Apr 2023 23:06:45 +0000 Subject: [PATCH] use customIcons --- .../Icons/customIcons/verifiedBadge.jsx | 3 +++ .../components/Icons/customIcons/vrchat.jsx | 21 +++++++++++++++++ packages/app/src/components/Icons/index.jsx | 23 +++++++++++++++---- 3 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 packages/app/src/components/Icons/customIcons/verifiedBadge.jsx create mode 100644 packages/app/src/components/Icons/customIcons/vrchat.jsx diff --git a/packages/app/src/components/Icons/customIcons/verifiedBadge.jsx b/packages/app/src/components/Icons/customIcons/verifiedBadge.jsx new file mode 100644 index 00000000..e8e16868 --- /dev/null +++ b/packages/app/src/components/Icons/customIcons/verifiedBadge.jsx @@ -0,0 +1,3 @@ +export default (props) => + + \ No newline at end of file diff --git a/packages/app/src/components/Icons/customIcons/vrchat.jsx b/packages/app/src/components/Icons/customIcons/vrchat.jsx new file mode 100644 index 00000000..ff7ee3f1 --- /dev/null +++ b/packages/app/src/components/Icons/customIcons/vrchat.jsx @@ -0,0 +1,21 @@ +export default (props) => + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/app/src/components/Icons/index.jsx b/packages/app/src/components/Icons/index.jsx index 0cda33a5..a72a4c7f 100755 --- a/packages/app/src/components/Icons/index.jsx +++ b/packages/app/src/components/Icons/index.jsx @@ -1,16 +1,30 @@ import React from "react" +import VrChatIcon from "./customIcons/vrchat" +import VerifiedBadge from "./customIcons/verifiedBadge" + // import icons lib import * as lib1 from "feather-reactjs" -import * as lib2 from "react-icons/md" -import * as lib3 from "@ant-design/icons" +import * as lib2 from "@ant-design/icons" +import * as lib3 from "react-icons/md" import * as lib4 from "react-icons/io" import * as lib5 from "react-icons/si" +import * as lib6 from "react-icons/fa" -const marginedStyle = { width: "1em", height: "1em", marginRight: "10px", verticalAlign: "-0.125em" } +const marginedStyle = { + width: "1em", + height: "1em", + marginRight: "10px", + verticalAlign: "-0.125em" +} const customs = { - verifiedBadge: () => , + verifiedBadge: () => , + VrChat: () => , } export const Icons = { @@ -20,6 +34,7 @@ export const Icons = { ...lib3, ...lib4, ...lib5, + ...lib6, } export function createIconRender(icon, props) {