Archived
12 lines
331 B
TypeScript
12 lines
331 B
TypeScript
import { type ReactNode } from "react";
|
|
import { View, Text } from "react-native";
|
|
import { authStyles } from "./authStyles";
|
|
|
|
export function AuthFormError({ message }: { message: string }): ReactNode {
|
|
return (
|
|
<View style={authStyles.errorBox}>
|
|
<Text style={authStyles.errorText}>{message}</Text>
|
|
</View>
|
|
);
|
|
}
|