26 lines
762 B
TypeScript
26 lines
762 B
TypeScript
import {NativeModules, Text, View} from "react-native";
|
|
import BasicButton from "../../components/BasicButton/BasicButton";
|
|
import {randomUUID} from "expo-crypto";
|
|
import {useScanningContext} from "../../providers/ScanProvider";
|
|
import {dampingFor} from "react-native-toast-message/lib/src/components/AnimatedContainer";
|
|
|
|
const {AwesomeModule} = NativeModules;
|
|
|
|
function MoneyScreen() {
|
|
const {scan} = useScanningContext();
|
|
const a = "123";
|
|
return (
|
|
<View>
|
|
<Text style={{fontSize: 36}}>Money</Text>
|
|
<BasicButton
|
|
onPress={() => {
|
|
console.log("Button pressed");
|
|
}}
|
|
label={"Press me"}
|
|
|
|
/>
|
|
</View>
|
|
)
|
|
}
|
|
|
|
export default MoneyScreen; |