You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| disabled | ✔️ |`boolean`| Flag that disables the input element |
63
61
| updatedContent | ✔️ |`string`| Text injected from parent element into the input as the current value |
64
62
| onContentExternalUpdate | ✔️ |`(content) => void`| Method that emits the injected content by the `updatedContent` prop |
65
-
| onChange | ❌ |`(content) => {}`| Method that emits the current content as a string |
63
+
| onChange | ❌ |`(content) => void`| Method that emits the current content as a string |
66
64
| onKeyUp | ✔️ |`(e) => void`| Method that emits the keyUp keyboard event |
67
65
| onKeyDown | ✔️ |`(e) => void`| Method that emits the keyDown keyboard event |
68
66
| onFocus | ✔️ |`(e) => void`| Method that emits the focus event |
69
67
| onBlur | ✔️ |`(e) => void`| Method that emits the blur event |
70
68
71
-
<br>
72
-
73
69
## Contribution
74
70
75
71
If you have a suggestion that would make this component better feel free to fork the project and open a pull request or create an issue for any idea or bug you find.\
76
72
Remeber to follow the [Contributing Guidelines](https://github.com/ChrisUser/.github/blob/main/CONTRIBUTING.md).
77
73
78
-
<br>
79
-
80
74
## Licence
81
75
82
76
React Basic Contenteditable is [MIT licensed](https://github.com/ChrisUser/react-basic-contenteditable/blob/master/LICENSE).
0 commit comments