Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
722a3b0b
Commit
722a3b0b
authored
Sep 01, 2017
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ant-design-pro -> ant-design-pro/lib
parent
bc38597d
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
15 deletions
+15
-15
basic.md
src/components/DescriptionList/demo/basic.md
+1
-1
vertical.md
src/components/DescriptionList/demo/vertical.md
+1
-1
403.md
src/components/Exception/demo/403.md
+1
-1
404.md
src/components/Exception/demo/404.md
+1
-1
500.md
src/components/Exception/demo/500.md
+1
-1
basic.md
src/components/GlobalFooter/demo/basic.md
+1
-1
basic.md
src/components/NoticeIcon/demo/basic.md
+1
-1
popover.md
src/components/NoticeIcon/demo/popover.md
+1
-1
image.md
src/components/PageHeader/demo/image.md
+1
-1
simple.md
src/components/PageHeader/demo/simple.md
+1
-1
standard.md
src/components/PageHeader/demo/standard.md
+1
-1
structure.md
src/components/PageHeader/demo/structure.md
+1
-1
classic.md
src/components/Result/demo/classic.md
+1
-1
error.md
src/components/Result/demo/error.md
+1
-1
structure.md
src/components/Result/demo/structure.md
+1
-1
No files found.
src/components/DescriptionList/demo/basic.md
View file @
722a3b0b
...
...
@@ -6,7 +6,7 @@ title: Basic
基本描述列表。
```
`jsx
import
{ DescriptionList } from 'ant-design-pro
';
import
DescriptionList from 'ant-design-pro/lib/DescriptionList
';
const { Description } = DescriptionList;
...
...
src/components/DescriptionList/demo/vertical.md
View file @
722a3b0b
...
...
@@ -6,7 +6,7 @@ title: Vertical
垂直布局。
```
`jsx
import
{ DescriptionList } from 'ant-design-pro
';
import
DescriptionList from 'ant-design-pro/lib/DescriptionList
';
const { Description } = DescriptionList;
...
...
src/components/Exception/demo/403.md
View file @
722a3b0b
...
...
@@ -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 = (
...
...
src/components/Exception/demo/404.md
View file @
722a3b0b
...
...
@@ -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" />
...
...
src/components/Exception/demo/500.md
View file @
722a3b0b
...
...
@@ -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" />
...
...
src/components/GlobalFooter/demo/basic.md
View file @
722a3b0b
...
...
@@ -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 = [{
...
...
src/components/NoticeIcon/demo/basic.md
View file @
722a3b0b
...
...
@@ -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);
```
`
src/components/NoticeIcon/demo/popover.md
View file @
722a3b0b
...
...
@@ -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 = [{
...
...
src/components/PageHeader/demo/image.md
View file @
722a3b0b
...
...
@@ -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>
...
...
src/components/PageHeader/demo/simple.md
View file @
722a3b0b
...
...
@@ -6,7 +6,7 @@ title: Simple
简单的页头。
```
`jsx
import
{ PageHeader } from 'ant-design-pro
';
import
PageHeader from 'ant-design-pro/lib/PageHeader
';
const breadcrumbList = [{
title: '一级菜单',
...
...
src/components/PageHeader/demo/standard.md
View file @
722a3b0b
...
...
@@ -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 = (
...
...
src/components/PageHeader/demo/structure.md
View file @
722a3b0b
...
...
@@ -6,7 +6,7 @@ title: Structure
基本结构,可以形成多种组合。
```
`jsx
import
{ PageHeader } from 'ant-design-pro
';
import
PageHeader from 'ant-design-pro/lib/PageHeader
';
const breadcrumbList = [{
title: '面包屑',
...
...
src/components/Result/demo/classic.md
View file @
722a3b0b
...
...
@@ -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;
...
...
src/components/Result/demo/error.md
View file @
722a3b0b
...
...
@@ -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 = (
...
...
src/components/Result/demo/structure.md
View file @
722a3b0b
...
...
@@ -6,7 +6,7 @@ title: Structure
结构包含
`处理结果`
,
`补充信息`
以及
`操作建议`
三个部分,其中
`处理结果`
由
`提示图标`
,
`标题`
和
`结果描述`
组成。
```
`jsx
import
{ Result } from 'ant-design-pro
';
import
Result from 'ant-design-pro/lib/Result
';
ReactDOM.render(
<Result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment