import { StarsBackground } from "@/components/ui/stars";
const settings = {
speed: 50,
factor: 0.05,
starColor: "#ffffff",
stiffness: 50,
damping: 20,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen">
<StarsBackground
speed={s.speed}
factor={s.factor}
starColor={s.starColor}
transition={{ stiffness: s.stiffness, damping: s.damping }}
/>
</div>
);
}