diff --git a/example/src/Settings.tsx b/example/src/Settings.tsx index 8f6adc5..36b8551 100644 --- a/example/src/Settings.tsx +++ b/example/src/Settings.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { StyleSheet, View, Text } from 'react-native'; -export default function App() { +export default function Settings() { return ( powered by Cuvent diff --git a/example/src/Splash.tsx b/example/src/Splash.tsx index 04380cb..76b6826 100644 --- a/example/src/Splash.tsx +++ b/example/src/Splash.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react'; -import { StyleSheet, View, Text } from 'react-native'; +import { StyleSheet, View, Text, Image } from 'react-native'; import { Camera, CameraPermissionStatus } from 'react-native-vision-camera'; export default function Splash() { @@ -39,17 +39,30 @@ export default function Splash() { return ( + + Welcome to{'\n'}Vision Camera. + + Camera Permission: {cameraPermissionStatus} - Microphone Permission: {microphonePermissionStatus} + Camera Permission: {microphonePermissionStatus} ); } const styles = StyleSheet.create({ + welcome: { + fontSize: 38, + fontWeight: 'bold', + maxWidth: '80%', + }, + banner: { + position: 'absolute', + opacity: 0.4, + bottom: 0, + left: 0, + }, container: { flex: 1, - alignItems: 'center', - justifyContent: 'center', backgroundColor: 'white', }, box: {