lightswind
Version:
A professionally designed animate react component library & templates market that brings together functionality, accessibility, and beautiful aesthetics for modern applications.
33 lines (32 loc) • 866 B
TypeScript
import React from 'react';
export interface CardData {
id: string;
icon: React.ComponentType<any>;
href?: string;
title?: string;
description?: string;
}
export interface CodeHoverCardsProps {
cards?: CardData[];
className?: string;
cardClassName?: string;
maskRadius?: number;
characterCount?: number;
characterSet?: string;
animationDuration?: number;
borderRadius?: number;
cardGap?: string;
iconSize?: number;
iconColor?: string;
backgroundColor?: string;
borderColor?: string;
enableTouch?: boolean;
columns?: 1 | 2 | 3 | 4;
minHeight?: number;
onCardClick?: (card: CardData) => void;
onCardHover?: (card: CardData) => void;
disabled?: boolean;
showBorder?: boolean;
}
declare const CodeHoverCards: React.FC<CodeHoverCardsProps>;
export default CodeHoverCards;