From d2c2cc62a4c2e1ac10f8434bea7bb834da820869 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Sat, 16 Jan 2021 11:40:36 +0100
Subject: semi working next project

---
 components/account.tsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 components/account.tsx

(limited to 'components/account.tsx')

diff --git a/components/account.tsx b/components/account.tsx
new file mode 100644
index 0000000..e6ec58f
--- /dev/null
+++ b/components/account.tsx
@@ -0,0 +1,16 @@
+interface AccountAvatarProps {
+	size: number;
+	image: string;
+}
+
+export function AccountAvatar(props: AccountAvatarProps) {
+	return <div style={{
+		width: props.size,
+		height: props.size,
+		backgroundImage: props.image,
+		backgroundSize: "cover",
+		display: "inline-block"
+	}}/>;
+}
+
+
-- 
cgit v1.2.3

