Skip to content

Commit e7b62d3

Browse files
committed
doc: Update components props document. (#429)
1 parent 950205a commit e7b62d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ Inherit custom color variables by adding [`.wmde-markdown-var`](https://github.c
654654
- `textareaProps?: TextareaHTMLAttributes`: Set the `textarea` related props.
655655
- ~~`renderTextarea?: (props, opts) => JSX.Element;`~~: `@deprecated` Please use ~~`renderTextarea`~~ -> `components`. Use div to replace TextArea or re-render TextArea. [#193](https://github.com/uiwjs/react-md-editor/issues/193)
656656
- `components`: re-render textarea/toolbar element. [#419](https://github.com/uiwjs/react-md-editor/issues/419)
657+
- `textarea` Use div to replace TextArea or re-render TextArea
658+
- `toolbar` Override the default command element. _`toolbar`_ < _`command[].render`_
659+
- `preview` Custom markdown preview. [#429](https://github.com/uiwjs/react-md-editor/issues/429)
657660
- `height?: number=200`: The height of the editor. ️⚠️ `Dragbar` is invalid when **`height`** parameter percentage.
658661
- `visibleDragbar?: boolean=true`: Show drag and drop tool. Set the height of the editor.
659662
- `highlightEnable?: boolean=true`: Disable editing area code highlighting. The value is `false`, which increases the editing speed.

0 commit comments

Comments
 (0)