Add Kelola Data

This commit is contained in:
Randa Firman Putra
2025-07-15 14:46:34 +07:00
parent 833b307602
commit 4585f6a346
28 changed files with 2251 additions and 887 deletions

View File

@@ -14,6 +14,8 @@ type ToasterToast = ToastProps & {
title?: React.ReactNode
description?: React.ReactNode
action?: ToastActionElement
open?: boolean
onOpenChange?: (open: boolean) => void
}
const actionTypes = {
@@ -26,7 +28,7 @@ const actionTypes = {
let count = 0
function genId() {
count = (count + 1) % Number.MAX_VALUE
count = (count + 1) % Number.MAX_SAFE_INTEGER
return count.toString()
}