Files
t3code/apps/mobile/src/components/ErrorBanner.tsx
T
2026-07-02 22:42:14 -07:00

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>
);
}