Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

402 B
Raw Blame
import classes from './BouncingEmoji.module.scss';

interface BouncingEmojiProps {
    emoji: string;
    size?: number;
}

export const BouncingEmoji = ({emoji, size = 48}: BouncingEmojiProps) => (
    <div className={classes.wrapper} style={{fontSize: size}}>
        {/* eslint-disable-next-line lingui/no-unlocalized-strings */}
        <span className={classes.emoji}>{emoji}</span>
    </div>
);