Skip to content

Commit

Permalink
docs: update initialize.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geekact committed Oct 14, 2023
1 parent d08feea commit d3e2226
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/initialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,24 @@ root.render(
);
```

#### ** React-Native **

```diff
+ import './store';
+ import { FocaProvider } from 'foca';
import { Text, View } from 'react-native';

export default function App() {
return (
+ <FocaProvider>
<View>
<Text>Hello World</Text>
</View>
+ </FocaProvider>
)
}
```

#### ** Taro.js **

```diff
Expand Down

0 comments on commit d3e2226

Please sign in to comment.