dm_new 추가

This commit is contained in:
2026-02-12 18:18:08 +09:00
parent d4775ff745
commit 36ce09b754
116 changed files with 5821 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import Cookies from "js-cookie";
export function getCookie(name: string): string | undefined {
if (typeof window === "undefined") {
return undefined;
}
return Cookies.get(name);
}
export function setCookie(
name: string,
value: string,
options?: Cookies.CookieAttributes,
): void {
if (typeof window === "undefined") {
return;
}
Cookies.set(name, value, options);
}
export function removeCookie(
name: string,
options?: Cookies.CookieAttributes,
): void {
if (typeof window === "undefined") {
return;
}
Cookies.remove(name, options);
}
+8
View File
@@ -0,0 +1,8 @@
export { getCookie, setCookie, removeCookie } from "./cookie";
// export { useMutationWrapper } from "./use-mutation-wrapper";
// export { useAlertStore } from "./use-alert-store";
// export { useDataTable } from "./use-data-table";
// export { useMenuStore } from "./use-menu-store";
// export { useUserStore } from "./use-user-store";
// export { usePrompt } from "./use-prompt";
// export { useSelectPrompt } from "./use-select-prompt";