first commit

This commit is contained in:
2025-10-19 13:31:11 +00:00
commit 8bfc183b66
1248 changed files with 195992 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { createContext } from "react";
import type { DataType } from "./types";
export type UpdateItemType = (dataType: DataType) => void;
export interface PhotoContextType {
show: (key: number) => void;
update: UpdateItemType;
remove: (key: number) => void;
nextId: () => number;
}
export default createContext<PhotoContextType>(undefined as unknown as PhotoContextType);