Skip to content

doc(website): 增加DragDrawer目录 #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
702aa9b
fix(Divider):优化 gutter属性不生效问题
Nov 4, 2021
6c01e77
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 4, 2021
3a1a578
feat(Divider): 增加分割线标题的位置调整功能 & 更新文档
Nov 4, 2021
e3b17b5
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 4, 2021
b2a3f6b
feat(Rating):增加自定义每项的提示信息 & 更新文档
Nov 4, 2021
91b0587
feat(Rating):增加只读功能 & 文档更新
Nov 5, 2021
c981fb0
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 5, 2021
77e4712
feat(Timeline): 增加改变时间轴内容相对位置功能 & 文档更新
Nov 5, 2021
4783da8
style(Timeline):Update Readme.md img
Nov 6, 2021
b568d53
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 6, 2021
860bceb
feat(Timeline):增加自定义图标 & 文档更新
Nov 6, 2021
899ce6e
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 8, 2021
53784a7
feat(Timeline):优化自定义图标 & 文档更新
Nov 8, 2021
200a0bb
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 9, 2021
972de17
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 11, 2021
e2f6d6b
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 11, 2021
be36d3e
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 12, 2021
7b6e5e1
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 12, 2021
b6b0604
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 12, 2021
944ef68
feat:新增Calendar 日历组件
Nov 12, 2021
d9beca8
doc(website): Update Calendar Readme.md
Nov 12, 2021
45c550e
style:拉代码
Nov 15, 2021
924630a
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 16, 2021
4a7d9ff
feat(Calendar):增加农历及假期展示 && 文档更新
Nov 16, 2021
d1b0ee0
feat(Calendar):增加假日文字颜色
Nov 16, 2021
63f6b0a
feat(Calendar):左上角按钮增加自定义跳转功能&文档更新
Nov 17, 2021
94c92e8
feat(Calendar):优化农历假日及文字排版
Nov 17, 2021
6dc4f8a
feat(Calendar):处理文字长度
Nov 17, 2021
6a77aed
fix(Calendar):优化安卓文字排版
Nov 17, 2021
6bd2ea1
feat(Calendar):增加农历假期展示&文档更新&解决冲突
Nov 19, 2021
0540f65
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 19, 2021
55d504a
feat(Calendar):增加农历详情展示 & 文档更新
Nov 20, 2021
7da37a3
feat(DragDrawer):新增DragDrawer 拖曳抽屉 & 文档更新
Nov 23, 2021
1d68c05
Merge branch 'master' of github.com:uiwjs/react-native-uiw
Nov 24, 2021
3123f01
doc(website): 增加DragDrawer目录
Nov 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions website/src/pages/components/dragdrawer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Markdown, { importAll } from '../../../component/Markdown';

export default class Page extends Markdown {
path = '/packages/core/src/DragDrawer/README.md';
getMarkdown = async () => {
const md = await import('@uiw/react-native/lib/DragDrawer/README.md');
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源
importAll((require as any).context('./', true, /\.(png|gif|jpg|svg)$/), this.imageFiles);
return md.default || md;
};
}
1 change: 1 addition & 0 deletions website/src/routes/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const componentMenus: MenuData[] = [
{ path: '/components/winblank', name: 'WingBlank 两翼留白' },
{ divider: true, name: 'Navigation' },
{ path: '/components/drawer', name: 'Drawer 抽屉' },
{ path: '/components/dragdrawer', name: 'DragDrawer 拖曳抽屉' },
{ path: '/components/menudropdown', name: 'MenuDropdown 菜单下拉按钮' },
{ path: '/components/swipeaction', name: 'SwipeAction 滑动操作组件' },
{ path: '/components/expandablesection', name: 'ExpandableSection 展开缩放组件' },
Expand Down
4 changes: 4 additions & 0 deletions website/src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@ export const routeData = [
path: '/components/calendar',
component: lazy(() => import('../pages/components/calendar')),
},
{
path: '/components/dragdrawer',
component: lazy(() => import('../pages/components/dragdrawer')),
},
],
},
];