UNPKG

@uiw/react-steps

Version:
19 lines (18 loc) 591 B
import React from 'react'; import { IProps, HTMLDivProps } from '@uiw/utils'; import Step, { StepProps } from './Step'; export interface StepsProps<T> extends IProps, HTMLDivProps { status?: StepProps['status']; progressDot?: StepProps['progressDot']; direction?: 'horizontal' | 'vertical'; /** * 指定当前步骤,从 `0` 开始记数。 */ current?: number; } declare function InternalSteps<T>(props: StepsProps<T>): React.JSX.Element; type Steps = typeof InternalSteps & { Step: typeof Step; }; declare const _default: Steps; export default _default;