react-monaco-editor-ts

时间:2021-05-14 13:39:00
【文件属性】:
文件名称:react-monaco-editor-ts
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-14 13:39:00
TypeScript React摩纳哥编辑器 React的。 这是的硬分叉。 例子 要在本地构建示例,请运行: npm cd example npm npm start 然后在浏览器中打开http://localhost:8886 。 安装 npm i -S react-monaco-editor-ts 与Webpack一起使用 import React from 'react' ; import { render } from 'react-dom' ; import MonacoEditor from 'react-monaco-editor' ; class App extends React . Component { constructor ( props ) { super ( props ) ; this . state = { code : '// type
【文件预览】:
react-monaco-editor-ts-master
----.gitignore(162B)
----tsconfig.json(614B)
----README.md(5KB)
----test()
--------typescript()
----LICENSE(1KB)
----package.json(1KB)
----src()
--------editor.tsx(4KB)
--------types.ts(247B)
--------common.ts(315B)
--------diff.tsx(4KB)
--------index.ts(84B)
----example()
--------package.json(1KB)
--------index.js(3KB)
--------index.html(341B)
--------webpack.config.js(886B)
----.npmignore(68B)
----.travis.yml(324B)
----.editorconfig(271B)
----package-lock.json(9KB)

网友评论