Fix TS errors from Material Tailwind

This commit is contained in:
grimsi
2025-06-03 17:50:47 +02:00
parent 0fc6c128f4
commit 6e390df900
@@ -56,7 +56,9 @@ const Wizard = ({children, initialValues, onSubmit}: {
lineClassName="bg-foreground" lineClassName="bg-foreground"
placeholder={undefined} placeholder={undefined}
onPointerEnterCapture={undefined} onPointerEnterCapture={undefined}
onPointerLeaveCapture={undefined}> onPointerLeaveCapture={undefined}
onResize={undefined}
onResizeCapture={undefined}>
{steps.map((child, index) => ( {steps.map((child, index) => (
<Step key={index} <Step key={index}
className="bg-foreground text-background" className="bg-foreground text-background"
@@ -64,7 +66,9 @@ const Wizard = ({children, initialValues, onSubmit}: {
completedClassName="bg-primary" completedClassName="bg-primary"
placeholder={undefined} placeholder={undefined}
onPointerEnterCapture={undefined} onPointerEnterCapture={undefined}
onPointerLeaveCapture={undefined}> onPointerLeaveCapture={undefined}
onResize={undefined}
onResizeCapture={undefined}>
{/*@ts-ignore*/} {/*@ts-ignore*/}
{child.props.icon} {child.props.icon}
</Step> </Step>