@quanxi/ui
Version:
全悉组件库
17 lines (16 loc) • 411 B
TypeScript
/// <reference types="react" />
import "./style.scss";
type StepItem = {
status: "finish" | "process" | "wait";
title: string;
subtitle?: string;
width?: number;
subWidth?: number;
};
export interface StepsProps {
size?: "small" | "large";
items: StepItem[];
direction?: "vertical" | "horizontal";
}
declare const Steps: (props: StepsProps) => JSX.Element;
export default Steps;