add "codesandbox" link

This commit is contained in:
Suren Atoyan 2019-07-02 15:25:36 +04:00 committed by GitHub
parent 7acf8ae28f
commit 4867d38f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ yarn add @monaco-editor/react # or npm install @monaco-editor/react
## Usage
Example
Example ([codesandbox](https://codesandbox.io/s/monaco-editor-react-u0fyv))
```js
import React, { useState } from 'react';
import Editor from '@monaco-editor/react';