From 5580967b94a0778e3a4d75f09876892ccf8a92db Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:53:26 -0700 Subject: [PATCH] Add more user icons --- src/components/UserIcon.tsx | 12 ++++++++++++ src/components/form/IconPicker.tsx | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/components/UserIcon.tsx b/src/components/UserIcon.tsx index 9dfe3806..833008cd 100644 --- a/src/components/UserIcon.tsx +++ b/src/components/UserIcon.tsx @@ -9,6 +9,12 @@ export enum UserIcons { COUCH = "couch", MOBILE = "mobile", TICKET = "ticket", + SATURN = "saturn", + HEADPHONES = "headphones", + TV = "tv", + GHOST = "ghost", + COFFEE = "coffee", + FIRE = "fire", } export interface UserIconProps { @@ -23,6 +29,12 @@ const iconList: Record = { couch: ``, mobile: ``, ticket: ``, + saturn: ``, + headphones: ``, + tv: ``, + ghost: ``, + coffee: ``, + fire: ``, }; export const UserIcon = memo((props: UserIconProps) => { diff --git a/src/components/form/IconPicker.tsx b/src/components/form/IconPicker.tsx index 7ede61d5..5aa71f79 100644 --- a/src/components/form/IconPicker.tsx +++ b/src/components/form/IconPicker.tsx @@ -9,6 +9,12 @@ const icons = [ UserIcons.COUCH, UserIcons.MOBILE, UserIcons.TICKET, + UserIcons.SATURN, + UserIcons.HEADPHONES, + UserIcons.TV, + UserIcons.GHOST, + UserIcons.COFFEE, + UserIcons.FIRE, ]; export const initialIcon = icons[0]; @@ -23,7 +29,7 @@ export function IconPicker(props: {

{props.label}

) : null} -
+
{icons.map((icon) => { return (