UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

17 lines 686 B
import * as tslib_1 from "tslib"; import * as React from 'react'; import { PureComponent } from 'react'; import Emoji from '../../../ui/Emoji'; var EmojiItem = (function (_super) { tslib_1.__extends(EmojiItem, _super); function EmojiItem() { return _super !== null && _super.apply(this, arguments) || this; } EmojiItem.prototype.render = function () { var _a = this.props, id = _a.id, shortName = _a.shortName, text = _a.text; return (React.createElement(Emoji, { allowTextFallback: true, id: id, shortName: shortName, fallback: text })); }; return EmojiItem; }(PureComponent)); export default EmojiItem; //# sourceMappingURL=emoji.js.map