liveemoji
Version:
AniMoji is a React library offering animated emojis to enhance user interfaces, providing fun and creative components for any application.
7 lines (6 loc) • 355 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
var EmojiIcon = function (_a) {
var src = _a.src, alt = _a.alt, className = _a.className, _b = _a.size, size = _b === void 0 ? "1em" : _b;
return (_jsx("img", { src: src, alt: alt, className: "inline-block ".concat(className), style: { width: size, height: size } }));
};
export default EmojiIcon;