tanstake-table add remove, update function

This commit is contained in:
smanylov
2025-12-26 16:10:42 +07:00
parent d52dfb7ab8
commit 164e2568b9
8 changed files with 119 additions and 33 deletions
+2 -5
View File
@@ -1,14 +1,12 @@
import React, { ReactNode } from 'react';
interface ModalWindowtProps {
children: ReactNode;
children: ReactNode | null;
state: boolean;
callBack: (value: boolean) => void;
}
export default function ModalWindow({ children, state, callBack }: ModalWindowtProps) {
console.log(state);
return (
<>
{state && (
@@ -25,8 +23,7 @@ export default function ModalWindow({ children, state, callBack }: ModalWindowtP
{children}
</div>
</div>
)
}
)}
</>
)
}