import React from 'react'; interface RevisionHistoryModalProps { onClose: () => void; } export const RevisionHistoryModal: React.FC = ({ onClose }) => { const revisions = [ { id: 'rev-3', version: 'v1.3 (Current)', time: '35 minutes ago', author: 'Automated Stress-Tester', change: 'Injected Public Interest Hardship Waiver Clause to mitigate fee stall tactics.', scoreChange: '+12% (84% -> 96%)', badge: 'Optimized', }, { id: 'rev-2', version: 'v1.2', time: '2 hours ago', author: 'Privacy Redaction Engine', change: 'Masked Street Address (124 Main St) and Email (j.doe@email.com) in public draft.', scoreChange: 'PII Protected', badge: 'Secured', }, { id: 'rev-1', version: 'v1.0', time: 'Oct 24, 2024 • 09:30 AM', author: 'Citizen Intake', change: 'Initial grievance ingestion and statutory framework mapping to Sunshine Law § 119.07.', scoreChange: 'Initial Base', badge: 'Created', }, ]; return (
{/* Header */}
history

Revision History & Audit Log

Cryptographic integrity log for legal drafting and stress test iterations

{/* Content */}
{revisions.map((rev) => (
{rev.version} {rev.time}
{rev.scoreChange}

{rev.change}

person Triggered by: {rev.author}
))}
{/* Footer */}
); };