@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
tsx 18 lines 508 Bytes
Raw
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 }