Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ErrorBanner.tsx

10 lines401 Bytes

1import { View } from "react-native";
2​
3import { AppText as Text } from "./AppText";
4export function ErrorBanner(props: { readonly message: string }) {
5 return (
6 <View className="rounded-2xl border border-adaptive-rose-300-a70-400-a28 bg-adaptive-rose-100-a80-500-a12 px-3.5 py-3">
7 <Text className="font-t3-medium text-sm text-adaptive-rose-700-300">{props.message}</Text>
8 </View>
9 );