From 63d112cdb2c4b3dfe59c324a802367700b080470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Thu, 7 Jan 2021 14:57:48 +0900 Subject: [PATCH] feat: added Owner --- components/Owner.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 components/Owner.tsx diff --git a/components/Owner.tsx b/components/Owner.tsx new file mode 100644 index 0000000..9ac242d --- /dev/null +++ b/components/Owner.tsx @@ -0,0 +1,22 @@ +import Link from 'next/link' +import DiscordImage from './DiscordImage' + +const Owner = ({ id, username, tag, avatarHash }:OwnerProps):JSX.Element => { + return + + +
+ {username} #{tag} +
+
+ +} + +export default Owner + +interface OwnerProps { + id: string + tag: string + avatarHash: string + username: string +} \ No newline at end of file