UNPKG

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.

36 lines 1.07 kB
export interface ScrollParaProps { /** * The text lines or paragraphs to reveal. */ paragraphs: string[]; /** * The animation direction for each paragraph revealing. * @default "bottom" */ direction?: "bottom" | "top" | "left" | "right" | "none"; /** * The blur amount in pixels when the element starts entering. * @default 10 */ startBlur?: number; /** * The offset amount in pixels for the enter animation. * @default 50 */ offset?: number; className?: string; containerClassName?: string; textClassName?: string; /** * Opacity starting value. * @default 0.1 */ startOpacity?: number; /** * Delay before the next line starts revealing. * @default 0.5 */ stagger?: number; } export declare function ScrollPara({ paragraphs, direction, startBlur, offset, className, containerClassName, textClassName, startOpacity, stagger, }: ScrollParaProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=scroll-para.d.ts.map