mirror of
https://github.com/morten-olsen/refocus.dev.git
synced 2026-02-08 00:46:25 +01:00
fix: improved Slack widget
This commit is contained in:
@@ -5,16 +5,18 @@ type AvatarProps = {
|
||||
url?: string;
|
||||
name?: string;
|
||||
decal?: React.ReactNode;
|
||||
size?: 'sm' | 'md' | 'lg';
|
||||
size?: keyof typeof sizes;
|
||||
};
|
||||
|
||||
const sizes = {
|
||||
xs: 20,
|
||||
sm: 28,
|
||||
md: 50,
|
||||
lg: 75,
|
||||
};
|
||||
|
||||
const fontSizes = {
|
||||
xs: 8,
|
||||
sm: 10,
|
||||
md: 24,
|
||||
lg: 32,
|
||||
|
||||
Reference in New Issue
Block a user