MCPcopy
hub / github.com/guaguaguaxia/weekly_report / HistoryPanelProps

Interface HistoryPanelProps

components/HistoryPanel.tsx:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { marked } from 'marked';
5
6interface HistoryPanelProps {
7 onRecordSelect: (record: HistoryRecord) => void;
8 className?: string;
9 refreshTrigger?: number; // 新增:用于触发刷新的prop
10}
11
12const HistoryPanel: React.FC<HistoryPanelProps> = ({ onRecordSelect, className = '', refreshTrigger }) => {
13 const [groupedHistory, setGroupedHistory] = useState<{ [date: string]: HistoryRecord[] }>({});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected