"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var commons_1 = require("@universal-login/commons");
exports.Emoji = function (_a) {
    var code = _a.code;
    var emojiNumber = commons_1.getEmojiNumber(code);
    var color = commons_1.getEmojiColor(code);
    return (react_1.default.createElement("i", { className: "fa", style: { color: color } }, String.fromCodePoint(commons_1.getEmojiCodePoint(emojiNumber))));
};
//# sourceMappingURL=Emoji.js.map