lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
28 lines (27 loc) • 879 B
TypeScript
import React from "react";
export interface DotGridBackgroundProps {
/** Number of dot columns */
cols?: number;
/** Dot diameter in pixels */
dotSize?: number;
/** Spacing multiplier relative to dotSize */
dotSpacing?: number;
/** Dot fill color */
dotColor?: string;
/** Canvas background color */
backgroundColor?: string;
/** Radial scale falloff exponent */
scaleFactor?: number;
/** Inertia friction after drag (0–1) */
inertiaDamping?: number;
/** Enable inertia after drag */
inertia?: boolean;
/** Minimum dot scale floor */
minScale?: number;
/** Extra CSS classes on the wrapper */
className?: string;
/** Content layered above the grid */
children?: React.ReactNode;
}
export declare const DotGridBackground: React.FC<DotGridBackgroundProps>;
export default DotGridBackground;