Files
PaperClipAI/ui/src/components/AccessSelectIdentity.tsx
T
DottaandPaperclip b315580640 feat: add private task creation and sharing controls (#14718)
Add private task creation and sharing controls, effective access explanations, private project management, and locked task references.

Constrain the mobile composer plus menu to the viewport and explain named inherited privacy on hover, focus, or tap. Include 125 production-component Storybook stories and thirteen interactive user journeys.

Final head passes all CI checks and Greptile Apex 5/5 with no findings.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-07 07:27:52 -05:00

11 lines
379 B
TypeScript

import type { ReactNode } from "react";
import type { SearchableSelectOption } from "./SearchableSelect";
export interface AccessSelectOption extends SearchableSelectOption {
identity: ReactNode;
}
export function renderAccessIdentity(option: AccessSelectOption | null) {
return option ? <span className="flex min-w-0 items-center gap-2">{option.identity}</span> : null;
}