import { TiptapContent } from "@/components/input/rich-input"; import type { SectionItem } from "@/schema/resume/data"; import { stripHtml } from "@/utils/string"; import { cn } from "@/utils/style"; import { LinkedTitle } from "../linked-title"; import { PageLink } from "../page-link"; type ReferencesItemProps = SectionItem<"references"> & { className?: string; }; export function ReferencesItem({ className, ...item }: ReferencesItemProps) { return (
{/* Header */}
{/* Row 1 */}
{/* Row 2 */}
{item.position}
{/* Description */}
{/* Footer */}
{/* Row 1 */} {item.phone} {/* Row 2 */} {!item.options?.showLinkInTitle && ( )}
); }