1234567891011121314151617181920212223242526272829303132333435363738394041 |
- "use strict";
-
- var _react = require("react");
-
- var _react2 = _interopRequireDefault(_react);
-
- var _reactDom = require("react-dom");
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _App = require("./App");
-
- var _App2 = _interopRequireDefault(_App);
-
- var _registerServiceWorker = require("./registerServiceWorker");
-
- var _registerServiceWorker2 = _interopRequireDefault(_registerServiceWorker);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
- var props = {
- type: 1,
- businessId: "1",
- API: "http://api.links123.net/comment/v1",
- showList: false
- };
-
- var editorProps = {
- showEmoji: true,
- placeholder: "说点什么吧",
- rows: 5
- // onSubmit={v => console.log()} // TODO...
- };
-
- _reactDom2.default.render(_react2.default.createElement(
- _App2.default,
- props,
- _react2.default.createElement(_App.Editor, editorProps)
- ), document.getElementById("root-comment"));
- (0, _registerServiceWorker2.default)();
- //# sourceMappingURL=index.js.map
|