From 722a3b0b7326b3094275db5443c195ee391988ab Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Fri, 1 Sep 2017 15:21:08 +0800 Subject: [PATCH] ant-design-pro -> ant-design-pro/lib --- src/components/DescriptionList/demo/basic.md | 2 +- src/components/DescriptionList/demo/vertical.md | 2 +- src/components/Exception/demo/403.md | 2 +- src/components/Exception/demo/404.md | 2 +- src/components/Exception/demo/500.md | 2 +- src/components/GlobalFooter/demo/basic.md | 2 +- src/components/NoticeIcon/demo/basic.md | 2 +- src/components/NoticeIcon/demo/popover.md | 2 +- src/components/PageHeader/demo/image.md | 2 +- src/components/PageHeader/demo/simple.md | 2 +- src/components/PageHeader/demo/standard.md | 2 +- src/components/PageHeader/demo/structure.md | 2 +- src/components/Result/demo/classic.md | 2 +- src/components/Result/demo/error.md | 2 +- src/components/Result/demo/structure.md | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/DescriptionList/demo/basic.md b/src/components/DescriptionList/demo/basic.md index 9e59c015..13df17e9 100644 --- a/src/components/DescriptionList/demo/basic.md +++ b/src/components/DescriptionList/demo/basic.md @@ -6,7 +6,7 @@ title: Basic 基本描述列表。 ````jsx -import { DescriptionList } from 'ant-design-pro'; +import DescriptionList from 'ant-design-pro/lib/DescriptionList'; const { Description } = DescriptionList; diff --git a/src/components/DescriptionList/demo/vertical.md b/src/components/DescriptionList/demo/vertical.md index c45c9f87..6d7b9433 100644 --- a/src/components/DescriptionList/demo/vertical.md +++ b/src/components/DescriptionList/demo/vertical.md @@ -6,7 +6,7 @@ title: Vertical 垂直布局。 ````jsx -import { DescriptionList } from 'ant-design-pro'; +import DescriptionList from 'ant-design-pro/lib/DescriptionList'; const { Description } = DescriptionList; diff --git a/src/components/Exception/demo/403.md b/src/components/Exception/demo/403.md index 9cafa41c..ef7655c9 100644 --- a/src/components/Exception/demo/403.md +++ b/src/components/Exception/demo/403.md @@ -6,7 +6,7 @@ title: 403 403 页面,配合自定义操作。 ````jsx -import { Exception } from 'ant-design-pro'; +import Exception from 'ant-design-pro/lib/Exception'; import { Button } from 'antd'; const actions = ( diff --git a/src/components/Exception/demo/404.md b/src/components/Exception/demo/404.md index cd693592..6ff2de78 100644 --- a/src/components/Exception/demo/404.md +++ b/src/components/Exception/demo/404.md @@ -6,7 +6,7 @@ title: 404 404 页面。 ````jsx -import { Exception } from 'ant-design-pro'; +import Exception from 'ant-design-pro/lib/Exception'; ReactDOM.render( diff --git a/src/components/Exception/demo/500.md b/src/components/Exception/demo/500.md index b94e10ef..0ed9cedb 100644 --- a/src/components/Exception/demo/500.md +++ b/src/components/Exception/demo/500.md @@ -6,7 +6,7 @@ title: 500 500 页面。 ````jsx -import { Exception } from 'ant-design-pro'; +import Exception from 'ant-design-pro/lib/Exception'; ReactDOM.render( diff --git a/src/components/GlobalFooter/demo/basic.md b/src/components/GlobalFooter/demo/basic.md index 2f0d82fe..eb47d0e4 100644 --- a/src/components/GlobalFooter/demo/basic.md +++ b/src/components/GlobalFooter/demo/basic.md @@ -6,7 +6,7 @@ title: Basic 基本页脚。 ````jsx -import { GlobalFooter } from 'ant-design-pro'; +import GlobalFooter from 'ant-design-pro/lib/GlobalFooter'; import { Icon } from 'antd'; const links = [{ diff --git a/src/components/NoticeIcon/demo/basic.md b/src/components/NoticeIcon/demo/basic.md index c61a91f7..26835db4 100644 --- a/src/components/NoticeIcon/demo/basic.md +++ b/src/components/NoticeIcon/demo/basic.md @@ -6,7 +6,7 @@ title: 通知图标 通常用在全局导航上。 ````jsx -import { NoticeIcon } from 'ant-design-pro'; +import NoticeIcon from 'ant-design-pro/lib/NoticeIcon'; ReactDOM.render(, mountNode); ```` diff --git a/src/components/NoticeIcon/demo/popover.md b/src/components/NoticeIcon/demo/popover.md index 071b2eac..f4ecafdd 100644 --- a/src/components/NoticeIcon/demo/popover.md +++ b/src/components/NoticeIcon/demo/popover.md @@ -6,7 +6,7 @@ title: 带浮层卡片 点击展开通知卡片,展现多种类型的通知。 ````jsx -import { NoticeIcon } from 'ant-design-pro'; +import NoticeIcon from 'ant-design-pro/lib/NoticeIcon'; import moment from 'moment'; const data = [{ diff --git a/src/components/PageHeader/demo/image.md b/src/components/PageHeader/demo/image.md index b5d0dc95..96045ac1 100644 --- a/src/components/PageHeader/demo/image.md +++ b/src/components/PageHeader/demo/image.md @@ -6,7 +6,7 @@ title: With Image 带图片的页头。 ````jsx -import { PageHeader } from 'ant-design-pro'; +import PageHeader from 'ant-design-pro/lib/PageHeader'; const content = (
diff --git a/src/components/PageHeader/demo/simple.md b/src/components/PageHeader/demo/simple.md index bff44117..30edd647 100644 --- a/src/components/PageHeader/demo/simple.md +++ b/src/components/PageHeader/demo/simple.md @@ -6,7 +6,7 @@ title: Simple 简单的页头。 ````jsx -import { PageHeader } from 'ant-design-pro'; +import PageHeader from 'ant-design-pro/lib/PageHeader'; const breadcrumbList = [{ title: '一级菜单', diff --git a/src/components/PageHeader/demo/standard.md b/src/components/PageHeader/demo/standard.md index e870e986..080e8f01 100644 --- a/src/components/PageHeader/demo/standard.md +++ b/src/components/PageHeader/demo/standard.md @@ -6,7 +6,7 @@ title: Standard 标准页头。 ````jsx -import { PageHeader } from 'ant-design-pro'; +import PageHeader from 'ant-design-pro/lib/PageHeader'; import { Button, Menu, Dropdown, Icon, Row, Col } from 'antd'; const menu = ( diff --git a/src/components/PageHeader/demo/structure.md b/src/components/PageHeader/demo/structure.md index 0c7f81e6..e8249114 100644 --- a/src/components/PageHeader/demo/structure.md +++ b/src/components/PageHeader/demo/structure.md @@ -6,7 +6,7 @@ title: Structure 基本结构,可以形成多种组合。 ````jsx -import { PageHeader } from 'ant-design-pro'; +import PageHeader from 'ant-design-pro/lib/PageHeader'; const breadcrumbList = [{ title: '面包屑', diff --git a/src/components/Result/demo/classic.md b/src/components/Result/demo/classic.md index 8fbcf185..d9cfeb7b 100644 --- a/src/components/Result/demo/classic.md +++ b/src/components/Result/demo/classic.md @@ -6,7 +6,7 @@ title: Classic 典型结果页面。 ````jsx -import { Result } from 'ant-design-pro'; +import Result from 'ant-design-pro/lib/Result'; import { Button, Row, Col, Icon, Steps } from 'antd'; const Step = Steps.Step; diff --git a/src/components/Result/demo/error.md b/src/components/Result/demo/error.md index 1ab7ad8e..3cb779e6 100644 --- a/src/components/Result/demo/error.md +++ b/src/components/Result/demo/error.md @@ -6,7 +6,7 @@ title: Failed 提交失败。 ````jsx -import { Result } from 'ant-design-pro'; +import Result from 'ant-design-pro/lib/Result'; import { Button, Icon } from 'antd'; const extra = ( diff --git a/src/components/Result/demo/structure.md b/src/components/Result/demo/structure.md index 13f2dab7..7fcecfd6 100644 --- a/src/components/Result/demo/structure.md +++ b/src/components/Result/demo/structure.md @@ -6,7 +6,7 @@ title: Structure 结构包含 `处理结果`,`补充信息` 以及 `操作建议` 三个部分,其中 `处理结果` 由 `提示图标`,`标题` 和 `结果描述` 组成。 ````jsx -import { Result } from 'ant-design-pro'; +import Result from 'ant-design-pro/lib/Result'; ReactDOM.render(