@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
25 lines (24 loc) • 698 B
TypeScript
import { StackProps } from '@mui/material/Stack';
export type ICarouselCardController = Omit<StackProps, 'children'> & {
/**
* The max steps of the carousel.
*/
maxSteps: number;
/**
* The index of the active step.
*/
activeStep: number;
/**
* Trigger when click the previous button.
*/
onClickPrevious?: (index: number) => void;
/**
* Trigger when click the next button.
*/
onClickNext?: (index: number) => void;
/**
* If true, the carousel will be infinite.
*/
infinite?: boolean;
};
export declare const CarouselCardController: (props: ICarouselCardController) => import("react/jsx-runtime").JSX.Element;