Skip to content

Commit

Permalink
feat: add exclusivelyUseCustomOnMessage prop to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
qoobes committed Dec 31, 2024
1 parent 8555357 commit 73323a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/docs/api/Components.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ a components that wraps the webview that renders the editor

props:

| name | type | default | description |
| ------ | -------------- | ------- | ----------------------------------------------------------------------- |
| editor | `EditorBridge` | | The bridge instance that created with [useEditorBridge](./EditorBridge) |
| name | type | default | description |
| ----------------------------- | -------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| editor | `EditorBridge` | | The bridge instance that created with [useEditorBridge](./EditorBridge) |
| exclusivelyUseCustomOnMessage | `boolean` | true | When true, if you pass an `onMessage` prop (webview) this will override tentap's own `onMessage` property. You probably want to disable this, it's here for compatibility. |

you can also override any of the regular [WebView props](https://github.com/react-native-webview/react-native-webview/blob/HEAD/docs/Reference.md) <i>although this is not recommended</i>

Expand Down

0 comments on commit 73323a7

Please sign in to comment.