Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-17 14:36:39 +10:00
parent fecf8090ea
commit 97734a2f55
25 changed files with 296 additions and 181 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { Data } from "@dnd-kit/core/dist/store/types";
type DraggableProps = {
id: string;
children: React.ReactNode;
data: Data;
data?: Data;
};
function Draggable({ id, children, data }: DraggableProps) {