UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

30 lines (29 loc) 961 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ConfigConsumerProps } from '../config-provider'; export interface StepsProps { prefixCls?: string; iconPrefix?: string; className?: string; current?: number; initial?: number; labelPlacement?: 'horizontal' | 'vertical'; status?: 'wait' | 'process' | 'finish' | 'error'; size?: 'default' | 'small'; direction?: 'horizontal' | 'vertical'; progressDot?: boolean | Function; style?: React.CSSProperties; } export default class Steps extends React.Component<StepsProps, any> { static Step: any; static defaultProps: { current: number; }; static propTypes: { prefixCls: PropTypes.Requireable<string>; iconPrefix: PropTypes.Requireable<string>; current: PropTypes.Requireable<number>; }; renderSteps: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }