@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 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 }