UNPKG

animated-emoji-icons

Version:

A React component library for animated emoji icons.

7 lines (6 loc) 352 B
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 ? 24 : _b; return (_jsx("img", { src: src, alt: alt, className: "inline-block ".concat(className), style: { width: size, height: size } })); }; export default EmojiIcon;