Start theming implementation

This commit is contained in:
grimsi
2024-03-17 17:54:40 +01:00
parent 4ad0914b17
commit 87a4d50190
9 changed files with 259 additions and 67 deletions
+13 -2
View File
@@ -1,3 +1,14 @@
const WizardStep = ({children}: { children: any }) => children;
import {JSX, ReactNode} from "react";
import * as Yup from 'yup';
export default WizardStep;
export default function WizardStep({children, icon, validationSchema}: {
children: ReactNode,
icon: JSX.Element,
validationSchema?: Yup.Schema,
onSubmit?: (...values: any) => Promise<void>
}) {
return children;
}
//const WizardStep = ({children}: { children: Component }) => children;
//export default WizardStep;