test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
22 lines (21 loc) • 543 B
TypeScript
import React, { FunctionComponent } from 'react';
import { BasicComponent } from '../../utils/typings';
export interface StepsProps extends BasicComponent {
/**
* 当前所在的步骤
* @default 0
*/
value: number
/**
* 显示方向
* @default horizontal
*/
direction: string
/**
* 点状步骤条
* @default false
*/
dot: boolean
onStepClick: (index: number) => void;
}
export declare const Steps: FunctionComponent<Partial<StepsProps> & React.HTMLAttributes<HTMLDivElement>>;