"use client";
import { MechanicalWaves } from "@/components/ui/mechanical-waves";
const settings = {
speed: 1,
amplitude: 0,
peakHeight: 50,
width: 1000,
height: 1000,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen flex items-center justify-center overflow-hidden text-foreground">
<MechanicalWaves
speed={s.speed}
amplitude={s.amplitude}
peakHeight={s.peakHeight}
width={s.width}
height={s.height}
foregroundColor="currentColor"
/>
</div>
);
}