Created
June 30, 2023 02:08
-
-
Save tanner-west/3a33f3abb4e2e054acf0e3496c43d428 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {FC} from 'react'; | |
import {Button, NativeModules, SafeAreaView} from 'react-native'; | |
const {VisionModule} = NativeModules; | |
const App: FC = () => { | |
return ( | |
<SafeAreaView> | |
<Button title="Say Hello" onPress={() => VisionModule?.sayHello()} /> | |
</SafeAreaView> | |
); | |
}; | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment