10 lines · 358 B · TypeScript
RawDownload
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-danger-border bg-danger px-3.5 py-3">      <Text className="font-t3-medium text-sm text-danger-foreground">{props.message}</Text>    </View>  );}