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

main
tsx 16 lines 333 Bytes
Raw
1 export function DraftProjectName({
2 value,
3 singleLine = false,
4 }: {
5 value: string;
6 singleLine?: boolean;
7 }) {
8 return (
9 <span
10 aria-label={value}
11 className={`min-w-0 ${singleLine ? "block truncate text-left" : "line-clamp-2 whitespace-normal [overflow-wrap:anywhere]"}`}
12 >
13 {value}
14 </span>
15 );
16 }