mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-22 19:39:01 -05:00
60f7103198
* revert to last working version * add updated ui components * update formbricks-com components * apply prettier formatting * update apps/web files
20 lines
502 B
TypeScript
20 lines
502 B
TypeScript
import Avatar from "boring-avatars";
|
|
|
|
const colors = ["#00C4B8", "#ccfbf1", "#334155"];
|
|
|
|
interface PersonAvatarProps {
|
|
personId: string;
|
|
}
|
|
|
|
export const PersonAvatar: React.FC<PersonAvatarProps> = ({ personId }) => {
|
|
return <Avatar size={40} name={personId} variant="beam" colors={colors} />;
|
|
};
|
|
|
|
interface ProfileAvatar {
|
|
userId: string;
|
|
}
|
|
|
|
export const ProfileAvatar: React.FC<ProfileAvatar> = ({ userId }) => {
|
|
return <Avatar size={40} name={userId} variant="bauhaus" colors={colors} />;
|
|
};
|