Skip to content

Commit 6be8d70

Browse files
committed
markdown table
1 parent 47eaff5 commit 6be8d70

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ require('codemirror/mode/javascript/javascript');
6969

7070
## props
7171

72-
| prop | type *`default`* | components | description |
73-
|--------------|-------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------|
74-
| `autoCursor` | boolean *`true`* | `Controlled` `UnControlled` | should component cursor position correct when `value` changed |
75-
| `autoFocus` | boolean *`false`* | `Controlled` `UnControlled` | should component focus on mount |
76-
| `autoScroll` | boolean *`true`* | `Controlled` `UnControlled` | should component scroll cursor position into view when `value` changed |
77-
| `className` | string | `Controlled` `UnControlled` | pass through class *`class="react-codemirror2 className"`* |
78-
| `defineMode` | object | `Controlled` `UnControlled` | pass a [custom mode](http://marijnhaverbeke.nl/blog/codemirror-mode-system.html) via `{name: 'custom', fn: myModeFn}` |
79-
| `detach` | boolean | `UnControlled` | should component ignore new props |
80-
| `options` | object | `Controlled` `UnControlled` | [codemirror configuration](https://codemirror.net/doc/manual.html#config) |
81-
| `value` | string | _**`Controlled`**_ `UnControlled` | component value _**must be managed for controlled components**_ |
72+
| prop | type *`default`* | components | description |
73+
|--------------|------------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------|
74+
| `autoCursor` | boolean *`true`* | `Controlled` `UnControlled` | should component cursor position correct when `value` changed |
75+
| `autoFocus` | boolean *`false`* | `Controlled` `UnControlled` | should component focus on mount |
76+
| `autoScroll` | boolean *`true`* | `Controlled` `UnControlled` | should component scroll cursor position into view when `value` changed |
77+
| `className` | string | `Controlled` `UnControlled` | pass through class *`class="react-codemirror2 className"`* |
78+
| `defineMode` | object | `Controlled` `UnControlled` | pass a [custom mode](http://marijnhaverbeke.nl/blog/codemirror-mode-system.html) via `{name: 'custom', fn: myModeFn}` |
79+
| `detach` | boolean | `UnControlled` | should component ignore new props |
80+
| `options` | object | `Controlled` `UnControlled` | [codemirror configuration](https://codemirror.net/doc/manual.html#config) |
81+
| `value` | string | *`Controlled` `UnControlled` | * component value _**must be managed for controlled components**_ |
8282

8383
## props cont. (wrapped codemirror [programming api](https://codemirror.net/doc/manual.html#api))
8484

0 commit comments

Comments
 (0)