import React from 'react'; export interface Props { /** * 当前的index */ current: number; className?: string; /** * 预置的样式 */ type?: 'dashed' | 'normal'; /** * 子项类名 */ itemCls?: string; /** * 圆点类名 */ dotCls?: string; /** * 子项节点 */ items: (React.ReactNode | ((active: boolean) => { icon: React.ReactNode; text: React.ReactNode; }))[]; /** * active状态下的横线类名 */ activeLineCls?: string; /** * 横线类名 */ lineCls?: string; /** * active状态下的item类名 */ activeItemCls?: string; /** * active颜色 * @default #fff */ activeColor?: string; /** * 背景颜色 * @default brandPrimary */ backgroundColor?: string; /** * 默认文字或者icon的颜色 */ defaultColor?: string; style?: React.CSSProperties; /** * 进度条选择事件,保持跟current一致从1开始 */ onChoose?: (i: number) => void; } declare const _default: ({ current, className, onChoose, items, style, type, activeLineCls, activeItemCls, itemCls, activeColor, backgroundColor, dotCls, lineCls, ...props }: Props) => React.JSX.Element; export default _default;