From d3e2226d706ac50a48bade2a63bb810f778d6068 Mon Sep 17 00:00:00 2001 From: geekact Date: Sun, 15 Oct 2023 00:28:47 +0800 Subject: [PATCH] docs: update initialize.md --- docs/initialize.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/initialize.md b/docs/initialize.md index 6e3f75b..9b35983 100644 --- a/docs/initialize.md +++ b/docs/initialize.md @@ -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 ( ++ + + Hello World + ++ + ) +} +``` + #### ** Taro.js ** ```diff