feat: add PlusIcon to category creation button and set readOnly for specific fields in form

This commit is contained in:
Ardeman
2025-03-14 13:28:15 +08:00
parent bfa46cdca4
commit 5c20cc48ab
2 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -1,4 +1,8 @@
import { PencilSquareIcon, TrashIcon } from '@heroicons/react/20/solid'
import {
PencilSquareIcon,
PlusIcon,
TrashIcon,
} from '@heroicons/react/20/solid'
import DT, { type Config, type ConfigColumns } from 'datatables.net-dt'
import DataTable, { type DataTableSlots } from 'datatables.net-react'
import { useState } from 'react'
@@ -102,7 +106,7 @@ export const CategoriesPage = () => {
size="lg"
className="text-md h-[42px] px-4"
>
Buat Kategori
<PlusIcon className="h-8 w-8" /> Buat Kategori
</Button>
</div>