diff --git a/README.md b/README.md index 65c0e5fd1..a47affa69 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,11 @@ const code = 'const a = 0;'; ## Props Events -[codemirror events](https://codemirror.net/doc/manual.html#events) +An editor instance fires the following [codemirror events](https://codemirror.net/doc/manual.html#events). The instance argument always refers to the editor itself. + +```jsx + { }} /> +``` ```tsx import React from 'react';