import type { ComponentType, SVGAttributes } from 'react' import { X } from '@phosphor-icons/react' import { NoteTitleIcon } from '../NoteTitleIcon' export function StatusSuffix({ isArchived }: { isArchived: boolean }) { if (isArchived) return (archived) return null } export function LinkButton({ label, noteIcon, typeColor, bgColor, isArchived, onClick, onRemove, title, TypeIcon }: { label: string noteIcon?: string | null typeColor: string bgColor?: string isArchived: boolean onClick: () => void onRemove?: () => void title?: string TypeIcon: ComponentType> }) { const isDimmed = isArchived const color = isDimmed ? 'var(--muted-foreground)' : typeColor return ( ) }