Skip to content

Commit

Permalink
Update README.md for the code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
zihejia committed Jul 28, 2021
1 parent 164c045 commit c8dc3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ Once data hits our API, it generally takes ~60 seconds for it to be processed, s
```js

import React from 'react';
import {Button,SafeAreaView} from "react-native";
import {Mixpanel} from 'mixpanel-react-native';
import { Button, SafeAreaView } from "react-native";
import { Mixpanel } from 'mixpanel-react-native';

const mixpanel = new Mixpanel("Your Project Token");
mixpanel.init();

export function SampleApp() {
const SampleApp = () => {
return (
<SafeAreaView>
<Button
Expand Down

0 comments on commit c8dc3db

Please sign in to comment.