diff --git a/assets/icons/Anvil Icon.svg b/assets/icons/Anvil Icon.svg index 3f0fc47..1d822e4 100644 --- a/assets/icons/Anvil Icon.svg +++ b/assets/icons/Anvil Icon.svg @@ -1,6 +1,5 @@ - - + + \ No newline at end of file diff --git a/assets/icons/Discord.svg b/assets/icons/Discord.svg new file mode 100644 index 0000000..f95e32c --- /dev/null +++ b/assets/icons/Discord.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/components/Icon/index.tsx b/components/Icon/index.tsx index 7d4037f..f227830 100644 --- a/components/Icon/index.tsx +++ b/components/Icon/index.tsx @@ -1,23 +1,184 @@ import { FC } from "react"; -import Help from "../../assets/icons/Help Icon.svg"; -import Trash from "../../assets/icons/Trash Icon.svg"; -import Trash_hover from "../../assets/icons/Trash Icon Open.svg"; -import Anvil from "../../assets/icons/Anvil Icon.svg"; + +const Help = () => ( + + + + +); + +const Trash = () => ( + + + + + + + + +); + +const Trash_hover = () => ( + + + + + + + + +); + +const Anvil = () => ( + + + + +); + +const Discord = () => ( + + + +); const library = { Help, Trash, Trash_hover, Anvil, + Discord, }; interface IProps { - className: string; + className?: string; icon: keyof typeof library; } export const Icon: FC = ({ className, icon }) => { const ICON = library[icon]; - return ; + return ( + + + + ); };