import type { FC } from 'react' import classNames from 'classnames' import data from '@emoji-mart/data' import { init } from 'emoji-mart' import style from './style.module.css' init({ data }) export type AppIconProps = { size?: 'tiny' | 'small' | 'medium' | 'large' rounded?: boolean icon?: string background?: string className?: string innerIcon?: React.ReactNode onClick?: () => void } const AppIcon: FC = ({ size = 'medium', rounded = false, icon, background, className, innerIcon, onClick, }) => { return ( {innerIcon || ((icon && icon !== '') ? : )} ) } export default AppIcon