"use client";
import { StarsBackground } from "@/components/ui/stars-background";
const settings = {
density: 0.00015,
allTwinkle: true,
twinkleProbability: 0.7,
minSpeed: 0.5,
maxSpeed: 1,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen relative bg-neutral-950">
<StarsBackground
starDensity={s.density}
allStarsTwinkle={s.allTwinkle}
twinkleProbability={s.twinkleProbability}
minTwinkleSpeed={s.minSpeed}
maxTwinkleSpeed={s.maxSpeed}
/>
</div>
);
}