aboutsummaryrefslogtreecommitdiff
path: root/components/account.tsx
blob: e6ec58f253b765f855d10fbdf3ee474358905d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
	}}/>;
}