new component

This commit is contained in:
Laux Dev
2026-03-03 14:07:22 +08:00
parent f0b3c443c0
commit 62c438eed0
9 changed files with 47 additions and 107 deletions

View File

@@ -7,6 +7,7 @@ import { useRouter } from "next/navigation";
import ViewIcon from "../components/icons/view";
import DeleteIcon from "../components/icons/delete";
import SuccessToast from "../components/toast/success/successToast";
import ActionButton from "../components/actionButton/ActionButton";
const UsersPage = () => {
const router = useRouter();
@@ -63,12 +64,8 @@ const UsersPage = () => {
<td>{user.createdAt}</td>
<td>
<div className={styles.tableActions}>
<button className={styles.viewBtn}>
<ViewIcon />
</button>
<button className={styles.deleteBtn}>
<DeleteIcon />
</button>
<ActionButton icon={<ViewIcon />} />
<ActionButton icon={<DeleteIcon />} />
</div>
</td>
</tr>