diff --git a/README.md b/README.md index f55d5b9..6d31f24 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ When you load an image onto the composition, the origin of the image must be the | mute | boolean | false | Whether the stream should be muted or not | | hidden | boolean | false | Whether the stream should be hidden or not | opacity | number | 100 | Opacity of the stream (from 0 to 100) | -| onClick | (streamId: string, event: { x: number; y: number; }) => void | undefined | A callback function that will be called when the stream is clicked | +| onClick | (streamId: string, event: `{ x: number; y: number; }`) => void | undefined | A callback function that will be called when the stream is clicked | **Example (screen capture)**