"use client"; import * as React from "react"; import { cn } from "./lib/utils"; export interface PromptHistoryProps extends React.HTMLAttributes { items?: { id: string; prompt: string; time: string }[]; onReuse?: (prompt: string) => void; } /** Prompt history stub: past prompt rows with reuse action. */ export function PromptHistory({ items = [{ id: "p1", prompt: "Draft VIP welcome mail", time: "2h" }, { id: "p2", prompt: "Summarize gate scans", time: "5h" }], onReuse, className, ...props }: PromptHistoryProps) { const [list, setList] = React.useState(items); return (
Prompt history
); }