This commit is contained in:
amel
2025-02-25 15:09:41 +08:00
parent 46508b9f05
commit 31b85dad69
37 changed files with 421 additions and 699 deletions

15
components/buttonForm.tsx Normal file
View File

@@ -0,0 +1,15 @@
import Styles from "@/constants/Styles";
import { Text, TouchableOpacity } from "react-native";
type Props = {
text: string;
onPress: () => void;
};
export function ButtonForm({ text, onPress }: Props) {
return (
<TouchableOpacity style={[Styles.btnRound, { marginTop: 30 }]} onPress={onPress}>
<Text style={[Styles.textDefaultSemiBold, Styles.cWhite]}>{text}</Text>
</TouchableOpacity>
);
}