Skip to content

Commit

Permalink
Update README.md for react sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainJolidon authored Nov 8, 2023
1 parent 9b7f60b commit aa27a2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/screeb-sdk-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const App = () => (

// Anywhere in your app
const HomePage = () => {
const { trackEvent } = useScreeb();
const { eventTrack } = useScreeb();

const onButtonClicked = React.useCallback(
() => eventTrack(
Expand All @@ -86,7 +86,7 @@ const HomePage = () => {
};
```

For a working example, see our [Screeb Angular SDK example app](https://github.com/ScreebApp/sdk-js/tree/master/packages/screeb-sdk-react-example).
For a working example, see our [Screeb React SDK example app](https://github.com/ScreebApp/sdk-js/tree/master/packages/screeb-sdk-react-example).

For a more advanced usage and a complete API documentation, see [documentation generated from source files](https://github.com/ScreebApp/sdk-js/tree/master/packages/screeb-sdk-react/docs).

Expand All @@ -100,4 +100,4 @@ All third party contributors acknowledge that any contributions they provide wil

## License

Released under [MIT License](https://github.com/ScreebApp/sdk-js/blob/master/LICENSE).
Released under [MIT License](https://github.com/ScreebApp/sdk-js/blob/master/LICENSE).

0 comments on commit aa27a2d

Please sign in to comment.