import React from 'react'; export interface StepsProps { /** * 当前处于活动状态的步骤条 */ current: number; /** * 步骤条方向 */ direction?: 'horizontal' | 'vertical'; /** * 子元素 */ children?: React.ReactNode; /** * 标签位置 */ labelPlacement?: 'horizontal' | 'vertical'; /** * 连接器 */ connector?: React.ReactNode; /** * 自定义图标 */ icon?: React.ReactNode; /** * 点击时的回调函数 */ onChange?: (current: number) => void; } /** * 步进器组件 * @param props */ export default function Steps(props: StepsProps): JSX.Element;