mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 01:42:30 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
40 lines
974 B
TypeScript
40 lines
974 B
TypeScript
import React from 'react';
|
|
|
|
import BehaviorMap from '../../../.dumi/theme/common/BehaviorMap';
|
|
|
|
const BehaviorPattern: React.FC = () => (
|
|
<BehaviorMap
|
|
data={{
|
|
id: '200000004',
|
|
label: '了解任务的进度',
|
|
children: [
|
|
{
|
|
id: '500000061',
|
|
label: '查看任务的完成程度',
|
|
targetType: 'mvp',
|
|
children: [
|
|
{
|
|
id: '707000085',
|
|
label: '了解任务进度',
|
|
link: 'progress-index-tab-design-demo-progress',
|
|
},
|
|
{
|
|
id: '707000086',
|
|
label: '了解任务状态',
|
|
link: 'progress-index-tab-design-demo-status',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: '200000005',
|
|
label: '查看进度相关描述',
|
|
targetType: 'extension',
|
|
link: 'progress-index-tab-design-demo-info',
|
|
},
|
|
],
|
|
}}
|
|
/>
|
|
);
|
|
|
|
export default BehaviorPattern;
|