fix(ts): 添加ts配置
This commit is contained in:
parent
c4489fb0a8
commit
98439dc5e8
@ -1,39 +0,0 @@
|
|||||||
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',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '200000005',
|
|
||||||
label: '调整单页展示条数',
|
|
||||||
targetType: 'extension',
|
|
||||||
link: 'components-pagination-index-tab-design-demo-page-size',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '200000006',
|
|
||||||
label: '快速跳转',
|
|
||||||
targetType: 'extension',
|
|
||||||
link: 'components-pagination-index-tab-design-demo-quick-jump',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '200000007',
|
|
||||||
label: '了解数据总量',
|
|
||||||
targetType: 'extension',
|
|
||||||
link: 'components-pagination-index-tab-design-demo-total',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
|
|
||||||
export default BehaviorPattern;
|
|
@ -1,11 +1,10 @@
|
|||||||
---
|
---
|
||||||
category: Components
|
category: Components
|
||||||
group: 导航
|
group: 导航
|
||||||
title: Pagination
|
title: Pagination 分页
|
||||||
|
toc: content
|
||||||
subtitle: 分页
|
subtitle: 分页
|
||||||
description: 分页器用于分隔长列表,每次只加载一个页面。
|
description: 分页器用于分隔长列表,每次只加载一个页面。
|
||||||
cover: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*8y_iTJGY_aUAAAAAAAAAAAAADrJ8AQ/original
|
|
||||||
coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WM86SrBC8TsAAAAAAAAAAAAADrJ8AQ/original
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 何时使用
|
## 何时使用
|
||||||
|
Loading…
Reference in New Issue
Block a user