rsuite
Version:
A suite of react components
21 lines (20 loc) • 676 B
TypeScript
import React from 'react';
import { WithAsProps, RsRefForwardingComponent } from '../@types/common';
import StepItem from './StepItem';
export interface StepsProps extends WithAsProps {
/** Vertical display */
vertical?: boolean;
/** Small size Step Bar */
small?: boolean;
/** Primary content */
children?: React.ReactNode;
/** Current execution step */
current?: number;
/** Current execution step status */
currentStatus?: 'finish' | 'wait' | 'process' | 'error';
}
interface StepsComponent extends RsRefForwardingComponent<'div', StepsProps> {
Item: typeof StepItem;
}
declare const Steps: StepsComponent;
export default Steps;