Rebuild PR #2013 on top of current origin/main without the duplicated commit lineage. Co-authored-by: codex <[email protected]>
13 lines
450 B
TypeScript
13 lines
450 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-[13px] leading-[18px] text-rose-700 dark:text-rose-300">
|
|
{props.message}
|
|
</Text>
|
|
</View>
|
|
);
|
|
}
|