Commit 722a3b0b authored by nikogu's avatar nikogu

ant-design-pro -> ant-design-pro/lib

parent bc38597d
......@@ -6,7 +6,7 @@ title: Basic
基本描述列表。
````jsx
import { DescriptionList } from 'ant-design-pro';
import DescriptionList from 'ant-design-pro/lib/DescriptionList';
const { Description } = DescriptionList;
......
......@@ -6,7 +6,7 @@ title: Vertical
垂直布局。
````jsx
import { DescriptionList } from 'ant-design-pro';
import DescriptionList from 'ant-design-pro/lib/DescriptionList';
const { Description } = DescriptionList;
......
......@@ -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 = (
......
......@@ -6,7 +6,7 @@ title: 404
404 页面。
````jsx
import { Exception } from 'ant-design-pro';
import Exception from 'ant-design-pro/lib/Exception';
ReactDOM.render(
<Exception type="404" />
......
......@@ -6,7 +6,7 @@ title: 500
500 页面。
````jsx
import { Exception } from 'ant-design-pro';
import Exception from 'ant-design-pro/lib/Exception';
ReactDOM.render(
<Exception type="500" />
......
......@@ -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 = [{
......
......@@ -6,7 +6,7 @@ title: 通知图标
通常用在全局导航上。
````jsx
import { NoticeIcon } from 'ant-design-pro';
import NoticeIcon from 'ant-design-pro/lib/NoticeIcon';
ReactDOM.render(<NoticeIcon count={5} />, mountNode);
````
......@@ -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 = [{
......
......@@ -6,7 +6,7 @@ title: With Image
带图片的页头。
````jsx
import { PageHeader } from 'ant-design-pro';
import PageHeader from 'ant-design-pro/lib/PageHeader';
const content = (
<div>
......
......@@ -6,7 +6,7 @@ title: Simple
简单的页头。
````jsx
import { PageHeader } from 'ant-design-pro';
import PageHeader from 'ant-design-pro/lib/PageHeader';
const breadcrumbList = [{
title: '一级菜单',
......
......@@ -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 = (
......
......@@ -6,7 +6,7 @@ title: Structure
基本结构,可以形成多种组合。
````jsx
import { PageHeader } from 'ant-design-pro';
import PageHeader from 'ant-design-pro/lib/PageHeader';
const breadcrumbList = [{
title: '面包屑',
......
......@@ -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;
......
......@@ -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 = (
......
......@@ -6,7 +6,7 @@ title: Structure
结构包含 `处理结果``补充信息` 以及 `操作建议` 三个部分,其中 `处理结果``提示图标``标题``结果描述` 组成。
````jsx
import { Result } from 'ant-design-pro';
import Result from 'ant-design-pro/lib/Result';
ReactDOM.render(
<Result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment