reablocks
Version:
Component library for React
38 lines (37 loc) • 969 B
TypeScript
import { StepperTheme } from './StepperTheme';
import { FC, PropsWithChildren } from 'react';
import { MotionNodeAnimationOptions } from 'motion';
export interface StepperProps extends PropsWithChildren {
/**
* CSS Classname to applied to the Stepper
*/
className?: string;
/**
* Currently active step
* @default 0
*/
activeStep?: number;
/**
* Theme for the Stepper.
*/
theme?: StepperTheme;
/**
* Style of the stepper. Default is dots but it can be numbered too.
* @default 'default'
*/
variant?: 'default' | 'numbered';
/**
* Display link after last step
*/
continuous?: boolean;
/**
* @deprecated Use animation configuration instead.
* Animate items appearance
*/
animated?: boolean;
/**
* Animation configuration for the Stepper.
*/
animation?: MotionNodeAnimationOptions;
}
export declare const Stepper: FC<StepperProps>;