@uiw/codemirror-theme-vscode
Advanced tools
Comparing version 4.21.25 to 4.22.0
{ | ||
"name": "@uiw/codemirror-theme-vscode", | ||
"version": "4.21.25", | ||
"version": "4.22.0", | ||
"description": "Theme vscode for CodeMirror.", | ||
@@ -25,3 +25,3 @@ "homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/vscode", | ||
"dependencies": { | ||
"@uiw/codemirror-themes": "4.21.25" | ||
"@uiw/codemirror-themes": "4.22.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "keywords": [ |
@@ -20,2 +20,15 @@ <!--rehype:ignore:start--> | ||
```js | ||
import { EditorState } from '@codemirror/state'; | ||
import { javascript } from '@codemirror/lang-javascript'; | ||
import { vscodeDark } from '@uiw/codemirror-theme-vscode'; | ||
const state = EditorState.create({ | ||
doc: 'my source code', | ||
extensions: [vscodeDark, javascript({ jsx: true })], | ||
}); | ||
``` | ||
Using in React: | ||
```jsx | ||
@@ -22,0 +35,0 @@ import { vscodeDark, vscodeDarkInit } from '@uiw/codemirror-theme-vscode'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13706
109
+ Added@uiw/codemirror-themes@4.22.0(transitive)
- Removed@uiw/codemirror-themes@4.21.25(transitive)