feat: Styling data table component

This commit is contained in:
Hafid Nur
2025-03-27 16:29:09 +07:00
parent cafdb29024
commit a76bd89ec1
3 changed files with 68 additions and 39 deletions
@@ -51,6 +51,13 @@ Default.args = {
phone: '987-654-3210',
address: '456 Elm St',
},
{
id: 3,
name: 'John Smith',
email: 'johns@example.com',
phone: '456-789-1230',
address: '789 Cedar St',
},
],
onEdit: (id: number) => console.log('Edit item with id:', id),
};