import type { ReactNode } from "react";
/** Settings shows only on the highlighted row; the pin keeps the far-right column. */
export function ProjectRowActions(props: {
readonly settings?: ReactNode;
readonly pin?: ReactNode;
}) {
return (
<span className="ml-auto flex shrink-0 items-center pointer-coarse:gap-1">
{props.settings ? (
<span className="flex pointer-fine:invisible pointer-fine:in-data-highlighted:visible">
{props.settings}
</span>
) : null}
{props.pin ?? <span className="size-7 sm:size-6" />}
</span>
);
}