project setup

This commit is contained in:
Sone
2025-11-02 10:08:56 +01:00
commit 568838003e
174 changed files with 27100 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import { Button } from "react-native-paper";
import { ReactNode } from "react";
interface AuthButtonProps {
onPress: () => void;
loading?: boolean;
disabled?: boolean;
textColor?: string;
children: ReactNode;
className?: string;
}
export const AuthButton = ({
onPress,
loading = false,
disabled = false,
children,
}: AuthButtonProps) => {
return (
<Button
mode="contained"
onPress={onPress}
className="py-2 rounded-lg"
buttonColor="#6750a4"
disabled={disabled || loading}
loading={loading}
>
{children}
</Button>
);
};