initial commit

This commit is contained in:
victorAnumudu
2024-05-15 20:22:33 +01:00
parent c711e000b3
commit 3a35a34266
226 changed files with 5808 additions and 5819 deletions
@@ -0,0 +1,25 @@
import clsx from 'clsx'
import {FC} from 'react'
import {Row} from 'react-table'
import {User} from '../../core/_models'
type Props = {
row: Row<User>
}
const CustomRow: FC<Props> = ({row}) => (
<tr {...row.getRowProps()}>
{row.cells.map((cell) => {
return (
<td
{...cell.getCellProps()}
className={clsx({'text-end min-w-100px': cell.column.id === 'actions'})}
>
{cell.render('Cell')}
</td>
)
})}
</tr>
)
export {CustomRow}