Co-authored-by: codex <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
13 lines
431 B
TypeScript
13 lines
431 B
TypeScript
import { View } from "react-native";
|
|
|
|
import { AppText as Text } from "./AppText";
|
|
export function ErrorBanner(props: { readonly message: string }) {
|
|
return (
|
|
<View className="rounded-2xl border border-rose-300/70 bg-rose-100/80 px-3.5 py-3 dark:border-rose-400/28 dark:bg-rose-500/12">
|
|
<Text className="font-t3-medium text-sm text-rose-700 dark:text-rose-300">
|
|
{props.message}
|
|
</Text>
|
|
</View>
|
|
);
|
|
}
|