UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

29 lines (28 loc) 938 B
import { ReactNode } from 'react'; import { HTMLAttributesWeak, BaseComponentAttributes, BasicDirectionType } from '../utils/types'; export interface StepProps extends HTMLAttributesWeak, BaseComponentAttributes, HTMLAttributesWeak { shape?: 'circle' | 'arrow' | 'dot'; direction?: BasicDirectionType; current?: number; labelPlacement?: 'hoz' | 'ver'; children?: ReactNode; disabled?: boolean; readOnly?: boolean; } export interface StepItemProps extends Omit<BaseComponentAttributes, 'title'> { status?: 'finish' | 'process' | 'wait'; shape?: 'circle' | 'arrow' | 'dot'; direction?: BasicDirectionType; order?: number; title?: ReactNode; icon?: ReactNode; content?: ReactNode; addon?: ReactNode; children?: any; isPreDisabled?: boolean; percent?: number; disabled?: boolean; isLast?: boolean; isFirst?: boolean; onClick?: (index: number) => void; }