Skip to content

Commit f8525f9

Browse files
committed
doc: Update Document. #232 #181
1 parent e79ff52 commit f8525f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ export interface ReactCodeMirrorProps
207207
/** Enables a placeholder—a piece of example content to show when the editor is empty. */
208208
placeholder?: string | HTMLElement;
209209
/**
210-
* `light` / `dark` Defaults to `light`.
210+
* `light` / `dark` / `Extension` Defaults to `light`.
211211
* @default light
212212
*/
213-
theme?: 'light' | 'dark';
213+
theme?: 'light' | 'dark' | Extension;
214214
/**
215215
* Whether to optional basicSetup by default
216216
* @default true
@@ -260,7 +260,7 @@ export default ReactCodeMirror;
260260
- [@uiw/react-md-editor](https://github.com/uiwjs/react-md-editor): A simple markdown editor with preview, implemented with React.js and TypeScript.
261261
- [@uiw/react-monacoeditor](https://github.com/jaywcjlove/react-monacoeditor): Monaco Editor component for React.
262262
- [@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
263-
- [@uiw/react-markdown-preview](https://github.com/jaywcjlove/react-monacoeditor): React component preview markdown text in web browser.
263+
- [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview): React component preview markdown text in web browser.
264264

265265
## License
266266

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface ReactCodeMirrorProps
2424
/** Enables a placeholder—a piece of example content to show when the editor is empty. */
2525
placeholder?: string | HTMLElement;
2626
/**
27-
* `light` / `dark` Defaults to `light`.
27+
* `light` / `dark` / `Extension` Defaults to `light`.
2828
* @default light
2929
*/
3030
theme?: 'light' | 'dark' | Extension;

0 commit comments

Comments
 (0)