Steps

Steps 步骤条

代码示例

import { BfSteps } from '@bud-fe/react-taro-ui';
import { IBfStep } from '@bud-fe/react-taro-ui/es/components/bf-steps';
import React from 'react';
const data: IBfStep[] = [
{ label: 'step 1', value: 1 },
{ label: 'step 2', value: 2 },
{ label: 'step 3', value: 3, remark: 'T+1' },
{ label: 'step 4', value: 4 },
{ label: 'step 5', value: 5 },
];
export default () => {
return (
<>
<BfSteps steps={data} curValue={2} />
</>
);
};

API

属性名描述类型默认值
stepssteps数组IBfStep[](必选)
curValue当前步骤的值any--
dumi10:24