App
VaultItem
One row of the Vault: organic topic dot, title, time, and a ⋯ menu.
- Provide
entry,index(shape and fallback topic),active,onOpen, and any ofonRename,onDuplicate,onExport,onDelete. - Double-click or F2 renames inline; Enter saves, Escape cancels.
Props
export interface VaultItemProps {
entry: VaultEntry;
index?: number;
active?: boolean;
onOpen?: () => void;
onRename?: (title: string) => void;
onDelete?: () => void;
onDuplicate?: () => void;
onExport?: (format: ExportFormat) => void
}
Use
import { VaultItem } from '@visualli/design-system/components';
Source: components/src/ · Guidelines: components/catalog/VaultItem/README.md
