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

ReadOnlyComposerBar.tsx

14 lines492 Bytes

1import type { ReactNode } from "react";
2import { 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 */
8export 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 );