@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
19 lines (18 loc) • 437 B
TypeScript
import { ReactNode } from 'react';
interface Props {
id?: string;
active: string;
data: {
id: string;
content: ReactNode;
className?: string;
}[];
autoplay?: boolean;
autoplaySpeed?: number;
showIndicators?: boolean;
indicatorsClassName?: string;
className?: string;
onChange: (activeId: string) => void;
}
declare const Carousel: React.FC<Props>;
export default Carousel;