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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t