UNPKG

@onesy/ui-react

Version:
26 lines (25 loc) 800 B
import React from 'react'; import { ILine } from '../Line/Line'; import { IColor, IVersion, IElement, IPropsAny } from '../types'; export declare type IStep = ILine & { version?: IVersion; iconColor?: IColor; iconColorActive?: IColor; dividerColor?: IColor; dividerColorActive?: IColor; step?: number; activeStep?: number; active?: boolean; completed?: boolean; primary?: IElement; secondary?: IElement; stepDirection?: 'row' | 'column'; orientation?: 'vertical' | 'horizontal'; button?: boolean; divider?: boolean; renderIcon?: (step: number, active: boolean, completed: boolean, activeStep: number) => IElement; ListItemProps?: IPropsAny; DividerProps?: IPropsAny; }; declare const Step: React.FC<IStep>; export default Step;