Skip to content

Commit

Permalink
updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Jul 24, 2024
1 parent 81b74bb commit 06356a6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*
* @example
* ```typescript
* import { HMSUpdateListenerActions } from 'react-native-hms';
* hmsinstance.on(HMSUpdateListenerActions.ON_JOIN, ({ room: HMSRoom }}) => {
* hmsInstance.addEventListener(HMSUpdateListenerActions.ON_JOIN, ({ room: HMSRoom }}) => {
* console.log('Joined room', data);
* // Handle the event
* });
Expand Down

0 comments on commit 06356a6

Please sign in to comment.