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.
17 lines • 823 B
TypeScript
import React from "react";
interface ScrollVelocityRowProps extends React.HTMLAttributes<HTMLDivElement> {
children: React.ReactNode;
baseVelocity?: number;
direction?: 1 | -1;
}
/**
* Utility function to wrap a value within a min/max range for continuous looping.
* @param min The minimum value of the range.
* @param max The maximum value of the range.
* @param v The value to wrap.
*/
export declare const wrap: (min: number, max: number, v: number) => number;
export declare function ScrollVelocityContainer({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
export declare function ScrollVelocityRow(props: ScrollVelocityRowProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ScrollVelocityContainer.d.ts.map