@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.
35 lines (34 loc) • 964 B
TypeScript
import React from 'react';
import PropTypes from 'prop-types';
export type Size = 'default' | 'small';
export interface NavStepsProps {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
current?: number;
initial?: number;
size?: Size;
children?: React.ReactNode;
onChange?: (current: number) => void;
"aria-label"?: string;
}
declare const Steps: {
(props: NavStepsProps): React.JSX.Element;
propTypes: {
prefixCls: PropTypes.Requireable<string>;
className: PropTypes.Requireable<string>;
style: PropTypes.Requireable<object>;
current: PropTypes.Requireable<number>;
initial: PropTypes.Requireable<number>;
size: PropTypes.Requireable<string>;
};
defaultProps: {
prefixCls: string;
current: number;
direction: string;
size: string;
initial: number;
status: string;
};
};
export default Steps;