UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

21 lines (20 loc) 633 B
import React from 'react'; export type Direction = 'horizontal' | 'vertical'; export type Status = 'wait' | 'process' | 'finish' | 'error' | 'warning'; export type Size = 'default' | 'small'; export interface BasicStepsProps { prefixCls?: string; className?: string; direction?: Direction; current?: number; initial?: number; status?: Status; style?: React.CSSProperties; size?: Size; hasLine?: boolean; children?: React.ReactNode; onChange?: (current: number) => void; "aria-label"?: string; } declare const Steps: (props: BasicStepsProps) => React.JSX.Element; export default Steps;