@makeen.io/material-ui-kit
Version:
Makeen UI components kit. Based on material-ui.
25 lines (24 loc) • 802 B
TypeScript
import { IconProps, StepItemProps } from "atoms";
export declare type StepperStepProps = {
id: number;
label: string;
labelSecondary?: string;
textAnchor?: string | undefined;
width?: number | undefined;
widthOffset?: number | undefined;
widthOffsetStroke?: number;
completed?: boolean;
borderWidth?: number;
activeStepIconProps?: IconProps;
completedStepIconProps?: IconProps;
};
export declare type StepperProps = {
activeStepKey: number;
completed: boolean;
clickable?: boolean;
steps: StepperStepProps[];
variant: "regular" | "arrow" | "circle";
handleClick?(step: StepItemProps): void;
};
declare const _default: ({ steps, activeStepKey, variant, handleClick, clickable, }: StepperProps) => JSX.Element;
export default _default;