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.
29 lines • 852 B
TypeScript
interface CardData {
id: number | string;
image: string;
alt?: string;
}
export interface ScrollCardsProps {
cards: CardData[];
/**
* Defines the direction from which the next card enters.
* @default "bottom"
*/
direction?: "bottom" | "top" | "left" | "right";
className?: string;
containerClassName?: string;
imageClassName?: string;
/**
* The scale the current card scales down to.
* @default 0.7
*/
cardScale?: number;
/**
* The rotation the current card rotates to.
* @default 5
*/
cardRotation?: number;
}
export declare function ScrollCards({ cards, direction, className, containerClassName, imageClassName, cardScale, cardRotation, }: ScrollCardsProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=scroll-cards.d.ts.map