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