MF
Mohammed Faruk
Styled Table Cell - Copy this React, Mui Component to your project
"Generate a React component using MUI to display an Audit Log table. The component should: Fetch data from the /api/audit logs/logs?page={page} endpoint using Axios. Include pagination to navigate between different pages of logs. Display the following columns in the table: User, Table, Object ID, Serial Number, Timestamp, and Changes. The 'View Changes' button should trigger an alert showing the detailed changes in JSON format. Implement pagination controls with 'Previous' and 'Next' buttons, disabled at the boundaries of pages. The backend is based on Express and Prisma, and the API returns paginated logs."
Prompt
