@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 586 Bytes
Raw
1 import type { ReactNode } from "react";
2
3 /** Settings shows only on the highlighted row; the pin keeps the far-right column. */
4 export function ProjectRowActions(props: {
5 readonly settings?: ReactNode;
6 readonly pin?: ReactNode;
7 }) {
8 return (
9 <span className="ml-auto flex shrink-0 items-center pointer-coarse:gap-1">
10 {props.settings ? (
11 <span className="flex pointer-fine:invisible pointer-fine:in-data-highlighted:visible">
12 {props.settings}
13 </span>
14 ) : null}
15 {props.pin ?? <span className="size-7 sm:size-6" />}
16 </span>
17 );
18 }