[WEB-4734] feat: replace emoji picker with frimousse (#7639)

This commit is contained in:
Anmol Singh Bhatia 2025-09-02 19:00:15 +05:30 committed by GitHub
parent 26b48bfcf0
commit 652a6cc885
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 1944 additions and 439 deletions

View file

@ -1,3 +1,5 @@
"use client";
import { Search } from "lucide-react";
import React, { useEffect, useState } from "react";
// icons

View file

@ -1,3 +1,5 @@
"use client";
import { Emoji } from "emoji-picker-react";
import React, { FC } from "react";
import useFontFaceObserver from "use-font-face-observer";
@ -29,6 +31,9 @@ export const Logo: FC<Props> = (props) => {
// destructuring the logo object
const { in_use, emoji, icon } = logo;
// if no in_use value, return empty fragment
if (!in_use) return <></>;
// derived values
const value = in_use === "emoji" ? emoji?.value : icon?.name;
const color = icon?.color;