{steps.map((item, index) => {
const { progress } = item;
const getProgress = progress instanceof Function ? progress : (now: number) => progress;
return (
{now => (
<>
= 100 ? "active": ""}`}>
{item.title}
= 100 ? "long_step":""}`}>{checkMark()}
>
)}
);
})}
);
};