The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { ScrollView } from "react-native"; |
| 2 | |
| 3 | import { AppText } from "./ui/AppText"; |
| 4 | |
| 5 | export function MediaSourceCaption(props: { readonly source: string | undefined }) { |
| 6 | if (!props.source) return null; |
| 7 | return ( |
| 8 | <ScrollView |
| 9 | style={{ maxHeight: 88, flexGrow: 0 }} |
| 10 | contentContainerStyle={{ paddingHorizontal: 16, paddingBottom: 8 }} |
| 11 | nestedScrollEnabled |
| 12 | > |
| 13 | <AppText selectable className="text-xs text-white/70"> |
| 14 | {props.source} |
| 15 | </AppText> |
| 16 | </ScrollView> |
| 17 | ); |
| 18 | } |