Update src/components/cardStack/CardStack.tsx
This commit is contained in:
@@ -15,6 +15,12 @@ interface CardStackProps {
|
||||
useInvertedBackground?: boolean;
|
||||
ariaLabel?: string;
|
||||
className?: string;
|
||||
gridVariant?: string;
|
||||
uniformGridCustomHeightClasses?: string;
|
||||
carouselThreshold?: number;
|
||||
carouselMode?: "auto" | "buttons";
|
||||
carouselItemClassName?: string;
|
||||
mode?: "auto" | "buttons";
|
||||
}
|
||||
|
||||
export const CardStack: React.FC<CardStackProps> = ({
|
||||
@@ -25,7 +31,8 @@ export const CardStack: React.FC<CardStackProps> = ({
|
||||
tag,
|
||||
tagIcon: TagIcon,
|
||||
textboxLayout = "default", animationType = "slide-up", useInvertedBackground = false,
|
||||
ariaLabel = "Card stack section", className = ""}) => {
|
||||
ariaLabel = "Card stack section", className = "", gridVariant = "", uniformGridCustomHeightClasses = "", carouselThreshold = 5,
|
||||
carouselMode = "buttons"}) => {
|
||||
const [currentIndex, setCurrentIndex] = useState(0);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user