通用评论

index.js.map 1.1KB

1
  1. {"version":3,"sources":["../src/index.js"],"names":["props","type","businessId","API","showList","editorProps","showEmoji","placeholder","rows","ReactDOM","render","document","getElementById"],"mappings":";;AAAA;;;;AACA;;;;AACA;;;;AACA;;;;;;AAEA,IAAMA,QAAQ;AACZC,QAAM,CADM;AAEZC,cAAY,GAFA;AAGZC,OAAK,oCAHO;AAIZC,YAAU;AAJE,CAAd;;AAOA,IAAMC,cAAc;AAClBC,aAAW,IADO;AAElBC,eAAa,OAFK;AAGlBC,QAAM;AACN;AAJkB,CAApB;;AAOAC,mBAASC,MAAT,CACE;AAAC,eAAD;AAASV,OAAT;AACE,gCAAC,WAAD,EAAYK,WAAZ;AADF,CADF,EAIEM,SAASC,cAAT,CAAwB,cAAxB,CAJF;AAMA","file":"index.js","sourcesContent":["import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport App, { Editor } from \"./App\";\nimport registerServiceWorker from \"./registerServiceWorker\";\n\nconst props = {\n type: 1,\n businessId: \"1\",\n API: \"http://api.links123.net/comment/v1\",\n showList: false\n};\n\nconst editorProps = {\n showEmoji: true,\n placeholder: \"说点什么吧\",\n rows: 5\n // onSubmit={v => console.log()} // TODO...\n};\n\nReactDOM.render(\n <App {...props}>\n <Editor {...editorProps} />\n </App>,\n document.getElementById(\"root-comment\")\n);\nregisterServiceWorker();\n"]}