UNPKG

@uiw/react-steps

Version:
16 lines (15 loc) 588 B
import React from 'react'; import { IconProps, IconTagType } from '@uiw/react-icon'; import { IProps, HTMLDivProps } from '@uiw/utils'; import './style/index.less'; export interface StepProps extends IProps, Omit<HTMLDivProps, 'title'> { title?: React.ReactNode; description?: React.ReactNode; status?: 'wait' | 'process' | 'finish' | 'error' | 'success'; progressDot?: boolean; itemWidth?: number; stepNumber?: string; adjustMarginRight?: number; icon?: IconProps<IconTagType>['type']; } export default function Step(props: StepProps): React.JSX.Element;