通用评论

12345678910111213141516171819202122232425
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _react = require('react');
  6. var _react2 = _interopRequireDefault(_react);
  7. var _helper = require('../../helper');
  8. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  9. var App = function App(text) {
  10. return _react2.default.createElement('div', {
  11. className: 'comment-item-content',
  12. dangerouslySetInnerHTML: {
  13. __html: (0, _helper.renderContent)(text)
  14. }
  15. });
  16. };
  17. exports.default = App;
  18. //# sourceMappingURL=index.js.map