UNPKG

dtd

Version:

根据数梦工场视觉规范打造的组件库,感谢react-components和ant design

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