Skip to content

Commit ddca5ee

Browse files
authored
Update README.md (#7)
1 parent 21e51c0 commit ddca5ee

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ First, you need to get your `App Key` from Aptabase, you can find it in the `Ins
1919
Initialize the SDK by using the `AptabaseProvider` on your `App` component:
2020

2121
```js
22+
import { AptabaseProvider } from "@aptabase/react-native";
23+
2224
export default function App() {
2325
return (
2426
<AptabaseProvider appKey="<YOUR_APP_KEY>">
@@ -32,6 +34,7 @@ Afterwards, you can start tracking events with `trackEvent` from `useAptabase` h
3234

3335
```js
3436
import { useAptabase } from "@aptabase/react-native";
37+
import { useState } from "react";
3538

3639
export function Counter() {
3740
const { trackEvent } = useAptabase();

0 commit comments

Comments
 (0)