Reordered components directory

This commit is contained in:
2023-06-10 19:41:30 +02:00
parent c66d035a1c
commit b4b49351f8
8 changed files with 12 additions and 12 deletions

View File

@ -0,0 +1,16 @@
import { View, Text } from "react-native";
import tw from "twrnc";
interface GaugeProps {
label: string;
value: string;
}
export function Gauge({ label, value }: GaugeProps) {
return (
<View>
<Text>{label}</Text>
<Text style={tw.style("text-2xl")}>{value}</Text>
</View>
);
}