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

main
tsx 14 lines 492 Bytes
Raw
1 import type { ReactNode } from "react";
2 import { View } from "react-native";
3
4 /**
5 * What stands where the composer would for a thread that takes no messages. `children` say what
6 * the thread is and how it is doing, then any actions.
7 */
8 export function ReadOnlyComposerBar(props: { readonly children: ReactNode }) {
9 return (
10 <View className="flex-row items-center gap-3 rounded-[20px] border border-border-subtle bg-card-alt py-2 pe-2 ps-4">
11 {props.children}
12 </View>
13 );
14 }