diff --git a/CHANGELOG.md b/CHANGELOG.md index 6083f2631dab7b89cee887e977ef627fecb8c420..c0c5211d9017947f4edc376aac375f3d278ef029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,6 @@ order: 4 chinese: 更新日志 --- - - ## 0.12.13 `2016-03-29` diff --git a/components/affix/demo/basic.md b/components/affix/demo/basic.md index d5a6f24ad569c5cd39cb63011f3cdafaacdef754..6f976556be6b9062411c1e2ae7c91c3d96e84aab 100644 --- a/components/affix/demo/basic.md +++ b/components/affix/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Affix, Button } from 'antd'; diff --git a/components/affix/demo/bottom.md b/components/affix/demo/bottom.md index 83e45c2152ed2055bc5918b0712f4ad00d7e6b37..7ad5d019a9b7a89efd056c02f4f745f3ad71aad8 100644 --- a/components/affix/demo/bottom.md +++ b/components/affix/demo/bottom.md @@ -5,8 +5,6 @@ title: 下方固定 固定在屏幕下方 - - ````jsx import { Affix, Button } from 'antd'; diff --git a/components/affix/demo/offset.md b/components/affix/demo/offset.md index 2925347b8922b6dd330594d484b4b09930b7af48..ad9b26c5a2f684a481b927a309e5f5c7667c9509 100644 --- a/components/affix/demo/offset.md +++ b/components/affix/demo/offset.md @@ -5,8 +5,6 @@ title: 偏移 达到一定的偏移量才触发。 - - ````jsx import { Affix, Button } from 'antd'; diff --git a/components/affix/index.md b/components/affix/index.md index ed06f1d1a50123e59555b818f68de51c4559f656..1ebbab36162a82fe7c43cfc1d071bea560eeb252 100644 --- a/components/affix/index.md +++ b/components/affix/index.md @@ -5,8 +5,6 @@ type: 其它 english: Affix --- - - 将页面元素钉在可视范围。 ## 何时使用 diff --git a/components/alert/demo/basic.md b/components/alert/demo/basic.md index 9f4488d1c1ce1c5f81b9f40133224d520a2573af..b015a58a3a73a3a6641e6f184ec9b6259f23ec71 100644 --- a/components/alert/demo/basic.md +++ b/components/alert/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法,适用于简短的警告提示。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/demo/closable.md b/components/alert/demo/closable.md index a42b740feafee83d35f078be6a88209bb02c3677..f61a98e9658d7df329edf531dfd6703173a038f5 100644 --- a/components/alert/demo/closable.md +++ b/components/alert/demo/closable.md @@ -5,8 +5,6 @@ title: 可关闭的警告提示 显示关闭按钮,点击可关闭警告提示。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/demo/close-text.md b/components/alert/demo/close-text.md index db64a47c67bb3e227e11d6467cad18e9e04246f3..08ec7086dccd5e222fc5cfd16d1e7f9a4e0d0600 100644 --- a/components/alert/demo/close-text.md +++ b/components/alert/demo/close-text.md @@ -5,8 +5,6 @@ title: 自定义关闭 可以自定义关闭,自定义的文字会替换原先的关闭 `Icon`。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/demo/description.md b/components/alert/demo/description.md index 00ff5b89699c737e91a42f2a2db19dd97b3f02b8..482392b97579fab53899bda3a3c6171b5cac1451 100644 --- a/components/alert/demo/description.md +++ b/components/alert/demo/description.md @@ -5,8 +5,6 @@ title: 含有辅助性文字介绍 含有辅助性文字介绍的警告提示。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/demo/icon.md b/components/alert/demo/icon.md index 6ef052857bc12d5ebc7dfdac66cde02b8cb0010c..94239144c5375a03dcbc27cec46f28617eb73da8 100644 --- a/components/alert/demo/icon.md +++ b/components/alert/demo/icon.md @@ -5,8 +5,6 @@ title: 图标 可口的图标让信息类型更加醒目。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/demo/style.md b/components/alert/demo/style.md index 4a20bac813be5aa25dfec4421dfffb466225a09f..68e9c0349b3e0c22466b13b604511dfb0a519177 100644 --- a/components/alert/demo/style.md +++ b/components/alert/demo/style.md @@ -5,8 +5,6 @@ title: 四种样式 共有四种样式 `success`、`info`、`warning`、`error`。 - - ````jsx import { Alert } from 'antd'; diff --git a/components/alert/index.md b/components/alert/index.md index d7cb509b31936d88728c3346bee02d1eb9d3c564..df1d841026361a7b08c945ca657644250c9401a2 100644 --- a/components/alert/index.md +++ b/components/alert/index.md @@ -5,8 +5,6 @@ type: 展示 english: Alert --- - - 警告提示,展现需要关注的信息。 ## 何时使用 diff --git a/components/badge/demo/99plus.md b/components/badge/demo/99plus.md index 965b8c532d8af0cedf8e28a59bb1cf9b2c08c2e0..10fc4182af286d4be6c28eaf189ba364e8d1a9bf 100644 --- a/components/badge/demo/99plus.md +++ b/components/badge/demo/99plus.md @@ -5,8 +5,6 @@ title: 大数字 超过 99 的会显示为 `99+`。 - - ````jsx import { Badge } from 'antd'; diff --git a/components/badge/demo/basic.md b/components/badge/demo/basic.md index 8da0c5d3b0dcf39ac7a14bb8075644afcf787ab1..fe73c9f5e74c79a3ff5aa9797640bbb76b3b2de8 100644 --- a/components/badge/demo/basic.md +++ b/components/badge/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 简单的徽章展示。 - - ````jsx import { Badge } from 'antd'; diff --git a/components/badge/demo/change.md b/components/badge/demo/change.md index c3b218fd06a83fed0472dd54bc97bce724cec79e..88e7ffe42f9d00f9766b1af7f02905a2619e1384 100644 --- a/components/badge/demo/change.md +++ b/components/badge/demo/change.md @@ -5,8 +5,6 @@ title: 动态 展示动态变化的效果。 - - ````jsx import { Badge, Button, Icon } from 'antd'; const ButtonGroup = Button.Group; diff --git a/components/badge/demo/dot.md b/components/badge/demo/dot.md index 02be251c2cecd67bcce27c24c5ba2a6c0e5bc496..05f9a753ac3e97fbdae0e08b5e476776af509905 100644 --- a/components/badge/demo/dot.md +++ b/components/badge/demo/dot.md @@ -5,8 +5,6 @@ title: 讨嫌的小红点 没有具体的数字。 - - ````jsx import { Badge, Icon } from 'antd'; diff --git a/components/badge/demo/link.md b/components/badge/demo/link.md index 07e653dea664c0d8c8d843956c5f8a7be8282062..4b8152bb5e9a06edc16728e65b760892965afebe 100644 --- a/components/badge/demo/link.md +++ b/components/badge/demo/link.md @@ -5,8 +5,6 @@ title: 可点击 用 a 标签进行包裹即可。 - - ````jsx import { Badge } from 'antd'; diff --git a/components/badge/demo/no-wrapper.md b/components/badge/demo/no-wrapper.md index 0b6d1382fa3aba0d01201cf3ee998c9d3d339f56..c5758574a0fa6c802f76b08857da631278e47ee3 100644 --- a/components/badge/demo/no-wrapper.md +++ b/components/badge/demo/no-wrapper.md @@ -7,8 +7,6 @@ title: 独立使用 > 在右上角的 badge 则限定为红色。 - - ````jsx import { Badge } from 'antd'; diff --git a/components/badge/demo/overflow.md b/components/badge/demo/overflow.md index 7de1d66746bf6018e5abc4b85408ab68aa0ace33..e6e384143dbc0ff8fdef0a58688ae7c1a1018732 100644 --- a/components/badge/demo/overflow.md +++ b/components/badge/demo/overflow.md @@ -5,8 +5,6 @@ title: 封顶数字 超过 `overflowCount` 的会显示为 `${overflowCount}+`。 - - ````jsx import { Badge } from 'antd'; diff --git a/components/badge/index.md b/components/badge/index.md index 76b1801702d2515e110183f0ac8d865188628eda..0c81be7b9c6b6e210104b9f7a4191b81a93b793b 100644 --- a/components/badge/index.md +++ b/components/badge/index.md @@ -5,8 +5,6 @@ type: 展示 english: Badge --- - - 图标右上角的圆形徽标数字。 ## 何时使用 diff --git a/components/breadcrumb/demo/basic.md b/components/breadcrumb/demo/basic.md index 1620ea913d205d4cda63a00def11a4d1706a65d8..3c3a7fcdea9c8599a569a08aefcabcc5612e8645 100644 --- a/components/breadcrumb/demo/basic.md +++ b/components/breadcrumb/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Breadcrumb } from 'antd'; diff --git a/components/breadcrumb/demo/router.md b/components/breadcrumb/demo/router.md index cfad1684ff5ba5d10a41469d76f778b28d3f0774..71b6789b74a6dac194943eacb62c92559b11b783 100644 --- a/components/breadcrumb/demo/router.md +++ b/components/breadcrumb/demo/router.md @@ -6,8 +6,6 @@ title: 路由 和 `react-router@2.x` 进行结合使用。 - - ````jsx const ReactRouter = require('react-router'); let { Router, Route, Link, hashHistory } = ReactRouter; @@ -64,7 +62,6 @@ ReactDOM.render( , mountNode); ```` - ````css #components-breadcrumb-demo-router iframe { height: 180px; diff --git a/components/breadcrumb/demo/separator.md b/components/breadcrumb/demo/separator.md index 7e6fa69f64d9e1b2301a7dcfd92f88805d8c9366..b67bda3e5f468818e080b1de0a2fc10caf3379a8 100644 --- a/components/breadcrumb/demo/separator.md +++ b/components/breadcrumb/demo/separator.md @@ -5,8 +5,6 @@ title: 分隔符 使用 `separator=">"` 可以自定义分隔符。 - - ````jsx import { Breadcrumb } from 'antd'; diff --git a/components/breadcrumb/demo/withIcon.md b/components/breadcrumb/demo/withIcon.md index b76871bb2ac3058fdf273d6b20d12a988fa07bec..1112aa79bd9f31d52f63fbeca16fccddda55e65c 100644 --- a/components/breadcrumb/demo/withIcon.md +++ b/components/breadcrumb/demo/withIcon.md @@ -5,8 +5,6 @@ title: 带有图标的 图标放在文字前面。 - - ````jsx import { Breadcrumb, Icon } from 'antd'; diff --git a/components/breadcrumb/index.md b/components/breadcrumb/index.md index ed29a20cdbc58bcdf261eaa7dc4e49adf1742b5d..36c17947929f941868327bf0b055063f1d0c3d26 100644 --- a/components/breadcrumb/index.md +++ b/components/breadcrumb/index.md @@ -5,8 +5,6 @@ type: 导航 english: Breadcrumb --- - - 显示当前页面在系统层级结构中的位置,并能向上返回。 ## 何时使用 diff --git a/components/button/demo/basic.md b/components/button/demo/basic.md index 211d1a3ecbb853b7d704680efd8b11f12b162020..c39daf7b104337b487482c31f64b6ed7940e5bae 100644 --- a/components/button/demo/basic.md +++ b/components/button/demo/basic.md @@ -9,8 +9,6 @@ title: 按钮类型 主按钮和次按钮可独立使用,需要强引导用主按钮。幽灵按钮用于和主按钮组合。主按钮在同一个操作区域最多出现一次。 - - ````jsx import { Button } from 'antd'; diff --git a/components/button/demo/button-group.md b/components/button/demo/button-group.md index 6b427cfbe36b3492c4cbdfb9d416a425125f077c..e6ec18361955eeac834232eeb77a41cce3071543 100644 --- a/components/button/demo/button-group.md +++ b/components/button/demo/button-group.md @@ -7,8 +7,6 @@ title: 按钮组合 通过设置 `size` 为 `large` `small` 分别把按钮组合设为大、小尺寸。若不设置 `size`,则尺寸为中。 - - ````jsx import { Button, Icon } from 'antd'; const ButtonGroup = Button.Group; diff --git a/components/button/demo/disabled.md b/components/button/demo/disabled.md index 1ce7da88b5d33dab68ffc13218252d8d138a7644..e855cbc3b700299eade6dacc5f350308cf2cb8a7 100644 --- a/components/button/demo/disabled.md +++ b/components/button/demo/disabled.md @@ -5,8 +5,6 @@ title: 不可用 添加 `disabled` 属性即可让按钮处于不可用状态,同时按钮样式也会改变。 - - ````jsx import { Button } from 'antd'; diff --git a/components/button/demo/icon.md b/components/button/demo/icon.md index f8a66ef94f5ae05b6928139ed3d92639b7f94917..c7e8424f44582883bec66ea9ae2bd8e0c2cd9f5d 100644 --- a/components/button/demo/icon.md +++ b/components/button/demo/icon.md @@ -5,8 +5,6 @@ title: 图标按钮 `Button` 内可以嵌套图标,图标可以放在文字前、后,也可以单独存在。 - - ````jsx import { Button } from 'antd'; diff --git a/components/button/demo/loading.md b/components/button/demo/loading.md index c231e6b53b69b05bfd5852637972233d2e770713..e4d130f629e441a62a1891dfacb35b92c6280e6f 100644 --- a/components/button/demo/loading.md +++ b/components/button/demo/loading.md @@ -5,8 +5,6 @@ title: 加载中 添加 `loading` 属性即可让按钮处于加载状态,最后两个按钮演示点击后进入加载状态。 - - ````jsx import { Button, Icon } from 'antd'; diff --git a/components/button/demo/size.md b/components/button/demo/size.md index b195cc0cef4629226105967eddaae6d08a3ab2b5..2623ad7734856869affb3bb3482e6259e948ce9a 100644 --- a/components/button/demo/size.md +++ b/components/button/demo/size.md @@ -7,8 +7,6 @@ title: 按钮尺寸 通过设置 `size` 为 `large` `small` 分别把按钮设为大、小尺寸。若不设置 `size`,则尺寸为中。 - - ````jsx import { Button } from 'antd'; diff --git a/components/button/index.md b/components/button/index.md index 160185f5338c277e28486a67467c4b9b8bfa5965..cad2075c10501cfcf3de83903074b513a9df12b2 100644 --- a/components/button/index.md +++ b/components/button/index.md @@ -5,8 +5,6 @@ type: 基本 english: Button --- - - 按钮用于开始一个即时操作。 ## 何时使用 diff --git a/components/calendar/demo/basic.md b/components/calendar/demo/basic.md index 66ae4ad7c452c7e451a35b9da6e891a8080fd68e..bc5c2df5cdacc7a6a8422cdc4584ccf2fe449b79 100644 --- a/components/calendar/demo/basic.md +++ b/components/calendar/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 一个通用的日历面板,支持年/月切换。 - - ````jsx import { Calendar } from 'antd'; diff --git a/components/calendar/demo/card.md b/components/calendar/demo/card.md index d11b4e1d5a192df6dd2ea842624eee17e5becf24..665a4f1342bf2bed8f148947651457d2e8db98f2 100644 --- a/components/calendar/demo/card.md +++ b/components/calendar/demo/card.md @@ -5,8 +5,6 @@ title: 卡片模式 用于嵌套在空间有限的容器中。 - - ````jsx import { Calendar } from 'antd'; diff --git a/components/calendar/demo/custom-render.md b/components/calendar/demo/custom-render.md index 103ad93ccef31ae430c230684773cbf23891bd50..0447ede27533b56cb190be506b66641cc4f3c5be 100644 --- a/components/calendar/demo/custom-render.md +++ b/components/calendar/demo/custom-render.md @@ -5,8 +5,6 @@ title: 自定义渲染 用 `dateCellRender` 和 `monthCellRender` 函数来自定义需要渲染的数据。 - - ````jsx import { Calendar } from 'antd'; diff --git a/components/calendar/demo/locale.md b/components/calendar/demo/locale.md index 15e42c2fa6bab8df328ad06d338601b6dc3635a9..207b3c0df38671ff99a6813fd7b9744753fdf6c5 100644 --- a/components/calendar/demo/locale.md +++ b/components/calendar/demo/locale.md @@ -5,8 +5,6 @@ title: 国际化 通过 `locale` 配置时区、语言等, 默认支持 en_US, zh_CN - - ````jsx import { Calendar } from 'antd'; import enUS from 'antd/lib/calendar/locale/en_US'; diff --git a/components/calendar/demo/notice-calendar.md b/components/calendar/demo/notice-calendar.md index e0fa7c7e5f98195c795fb608ff6c6429b7fca91a..480771f0b7159696df908d2d1e39f6bd2a7fddd9 100644 --- a/components/calendar/demo/notice-calendar.md +++ b/components/calendar/demo/notice-calendar.md @@ -5,8 +5,6 @@ title: 通知事项日历演示 一个复杂的应用实例。 - - ````jsx import { Calendar } from 'antd'; @@ -54,7 +52,6 @@ function dateCellRender(value) { ); } - function getMonthData(value) { if (value.getMonth() === 8) { return 1394; @@ -74,7 +71,6 @@ ReactDOM.render( , mountNode); ```` - ````css .events { line-height: 24px; diff --git a/components/calendar/index.md b/components/calendar/index.md index f3dd464d0fb109c1932b877677ca6c71a9a6c7d2..a6aa59cd56782899cafae129a7f752957d2ec5fb 100644 --- a/components/calendar/index.md +++ b/components/calendar/index.md @@ -6,8 +6,6 @@ cols: 1 english: Calendar --- - - 按照日历形式展示数据的容器。 ## 何时使用 diff --git a/components/card/demo/basic.md b/components/card/demo/basic.md index 2f7a200cbe22811f9820866b3636f1412a9c04af..ff212fa6408d2724e19212890684f04c63bf8e7f 100644 --- a/components/card/demo/basic.md +++ b/components/card/demo/basic.md @@ -5,8 +5,6 @@ title: 典型卡片 包含标题、内容、操作区域。 - - ````jsx import { Card } from 'antd'; diff --git a/components/card/demo/grid.md b/components/card/demo/grid.md index 4d21ff4a78b609671a08f5625461552908622228..51bdbda570f747871551ec7e60265bd8c405a715 100644 --- a/components/card/demo/grid.md +++ b/components/card/demo/grid.md @@ -5,8 +5,6 @@ title: 栅格卡片 在系统概览页面常常和栅格进行配合。 - - ````jsx import { Card, Col, Row } from 'antd'; diff --git a/components/card/demo/loading.md b/components/card/demo/loading.md index e02fed79743df47733a181a42e52f0f4e4945562..d9c2d0ec5294588342951fba48a3e18456ff16ea 100644 --- a/components/card/demo/loading.md +++ b/components/card/demo/loading.md @@ -5,8 +5,6 @@ title: 预加载的卡片 数据读入前会有文本块样式。 - - ````jsx import { Card } from 'antd'; diff --git a/components/card/demo/no-padding.md b/components/card/demo/no-padding.md index c044aef0b829bc4bcb2157751c4416f45f03be86..68a60278ac4cc845e5552b3279ed1070975b55be 100644 --- a/components/card/demo/no-padding.md +++ b/components/card/demo/no-padding.md @@ -5,8 +5,6 @@ title: 更灵活的内容展示 可以调整默认边距,设定宽度。 - - ````jsx import { Card } from 'antd'; diff --git a/components/card/demo/simple.md b/components/card/demo/simple.md index 0f8351273071d083a245f9014bdcb0021b046750..1b55a6a605ad4cd815666259298d8f53d7dfb716 100644 --- a/components/card/demo/simple.md +++ b/components/card/demo/simple.md @@ -5,8 +5,6 @@ title: 简洁卡片 只包含内容区域。 - - ````jsx import { Card } from 'antd'; diff --git a/components/card/index.md b/components/card/index.md index 440ab20260fbfbe0299af2989f0d61216d25dbb5..0259f589d28531e72365692f9d59e85aea54b1f1 100644 --- a/components/card/index.md +++ b/components/card/index.md @@ -6,8 +6,6 @@ cols: 1 english: Card --- - - 通用卡片容器。 ## 何时使用 diff --git a/components/carousel/demo/autoplay.md b/components/carousel/demo/autoplay.md index c22c31fddf1d9d6aad5e11247cd128a3c78608b8..99412360cd885c31199b9cb58cee2bdf1afb3eaf 100644 --- a/components/carousel/demo/autoplay.md +++ b/components/carousel/demo/autoplay.md @@ -5,8 +5,6 @@ title: 自动切换 定时切换下一张。 - - ````jsx import { Carousel } from 'antd'; diff --git a/components/carousel/demo/basic.md b/components/carousel/demo/basic.md index 32922e68937e420b580f2c4645eb37f1a6095d12..176712c60457a2ad9c7d9e052ce9bb762056e215 100644 --- a/components/carousel/demo/basic.md +++ b/components/carousel/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Carousel } from 'antd'; diff --git a/components/carousel/demo/fade.md b/components/carousel/demo/fade.md index 14e4294beeb33d980a9af8c57d9ddea8f2207ff8..6f7b410f9c8f6eac5990c9294666cdb4a6b42dee 100644 --- a/components/carousel/demo/fade.md +++ b/components/carousel/demo/fade.md @@ -5,8 +5,6 @@ title: 渐显 切换效果为渐显。 - - ````jsx import { Carousel } from 'antd'; diff --git a/components/carousel/demo/vertical.md b/components/carousel/demo/vertical.md index 22d34a6e06df78b0042f2bc24e2398661b193b9a..ab3c88957797d6599e02432f6f6e8e2b0a54ce3e 100644 --- a/components/carousel/demo/vertical.md +++ b/components/carousel/demo/vertical.md @@ -5,8 +5,6 @@ title: 垂直 垂直显示。 - - ````jsx import { Carousel } from 'antd'; diff --git a/components/carousel/index.md b/components/carousel/index.md index 3f5c879ef362ab99a04b082104c79e82ae36ca46..89e5e67b9e18151903423f7f449d64f0b93de188 100644 --- a/components/carousel/index.md +++ b/components/carousel/index.md @@ -5,8 +5,6 @@ type: 展示 english: Carousel --- - - 旋转木马,一组轮播的区域。 ## 何时使用 diff --git a/components/cascader/demo/basic.md b/components/cascader/demo/basic.md index 7e7faacf6f0c28157f49fb9cbf5f29c25c2f2a40..7aec975dc189f840503edf5eae1f1f66ffc02ebb 100644 --- a/components/cascader/demo/basic.md +++ b/components/cascader/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 省市区级联。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/change-on-select.md b/components/cascader/demo/change-on-select.md index f1cdae5a0968c298786e7b7b166965eae36eda70..ba064c99f33bf1cf8effbde75119f14776d807b9 100644 --- a/components/cascader/demo/change-on-select.md +++ b/components/cascader/demo/change-on-select.md @@ -5,8 +5,6 @@ title: 选择即改变 这种交互允许只选中父级选项。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/custom-trigger.md b/components/cascader/demo/custom-trigger.md index 60b58a097bc44e88edc7f29d98ffc35a2ffb4ded..8b4d73c0b3be11f7dfa6380d305707106d859a34 100644 --- a/components/cascader/demo/custom-trigger.md +++ b/components/cascader/demo/custom-trigger.md @@ -5,8 +5,6 @@ title: 可以自定义显示 切换按钮和结果分开。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/default-value.md b/components/cascader/demo/default-value.md index f39c3a908c50c6c673955e6e75b0cf706fbb7db7..2ff7d38173f7cc172f0b113efda76f1dfa9420a5 100644 --- a/components/cascader/demo/default-value.md +++ b/components/cascader/demo/default-value.md @@ -5,8 +5,6 @@ title: 默认值 默认值通过数组的方式指定。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/disabled-option.md b/components/cascader/demo/disabled-option.md index d79596c5f9e2e3e411efbec54294b46d506ccb5b..4c51a6c806c712fa2978724c85171488ccd1e11a 100644 --- a/components/cascader/demo/disabled-option.md +++ b/components/cascader/demo/disabled-option.md @@ -5,8 +5,6 @@ title: 禁用选项 通过指定 options 里的 `disabled` 字段。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/hover.md b/components/cascader/demo/hover.md index f50ef93dd6d6917810ed249c9506444a0bb9b079..659986a07fa175e588643a1fcd9f9173114823e8 100644 --- a/components/cascader/demo/hover.md +++ b/components/cascader/demo/hover.md @@ -5,8 +5,6 @@ title: 移入展开 通过移入展开下级菜单,点击完成选择。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/demo/size.md b/components/cascader/demo/size.md index d15aa68621bc6639921ad3a60e70f7ebc1e68319..cfd2d9c74233d653a9fe4b99defebf6af7237605 100644 --- a/components/cascader/demo/size.md +++ b/components/cascader/demo/size.md @@ -5,8 +5,6 @@ title: 大小 不同大小的级联选择器。 - - ````jsx import { Cascader } from 'antd'; diff --git a/components/cascader/index.md b/components/cascader/index.md index 806378a18f24c41f2e907320e32496eaff8f9183..ddb74cdc1ba63a1def9724482148183f65221ce4 100644 --- a/components/cascader/index.md +++ b/components/cascader/index.md @@ -5,8 +5,6 @@ type: 表单 english: Cascader --- - - 级联选择框。 diff --git a/components/checkbox/demo/basic.md b/components/checkbox/demo/basic.md index cde91358df1ec04441808f5912e8b1b0857289ea..9954c76361a57338db8f5c9833400652131692bd 100644 --- a/components/checkbox/demo/basic.md +++ b/components/checkbox/demo/basic.md @@ -5,8 +5,6 @@ title: 基本用法 简单的 checkbox。 - - ````jsx import { Checkbox } from 'antd'; diff --git a/components/checkbox/demo/controller.md b/components/checkbox/demo/controller.md index 0a2dbf5db2baf8492c6fd774cd611fa158eca3e5..6ee1d80e930f5976d37fd4d9577564a1344a3f04 100644 --- a/components/checkbox/demo/controller.md +++ b/components/checkbox/demo/controller.md @@ -5,8 +5,6 @@ title: 和外部组件通信 联动 checkbox。 - - ````jsx import { Checkbox, Button } from 'antd'; diff --git a/components/checkbox/demo/disable.md b/components/checkbox/demo/disable.md index be122ae0a9dd94ac7c2ff596ac5a573d2cf4c190..04bf5f2502902681b0e6a766b6dcd4139bb8b521 100644 --- a/components/checkbox/demo/disable.md +++ b/components/checkbox/demo/disable.md @@ -5,8 +5,6 @@ title: 不可用 checkbox 不可用。 - - ````jsx import { Checkbox } from 'antd'; diff --git a/components/checkbox/demo/group.md b/components/checkbox/demo/group.md index 2f0e827b7b05b7a507838c11e2e3c6dae8aae05b..3f84069b5d30fd2c7bcd9ac3b66fff9e05a469fe 100644 --- a/components/checkbox/demo/group.md +++ b/components/checkbox/demo/group.md @@ -5,8 +5,6 @@ title: Checkbox 组 方便的从数组生成 Checkbox 组。 - - ````jsx import { Checkbox } from 'antd'; const CheckboxGroup = Checkbox.Group; diff --git a/components/checkbox/index.md b/components/checkbox/index.md index 1b7ccfae9b4fcd698980ef06679a007af6d44c7a..8a0aa8ab16f6468aa9148941952c7cef88c38930 100644 --- a/components/checkbox/index.md +++ b/components/checkbox/index.md @@ -5,8 +5,6 @@ type: 表单 english: Checkbox --- - - 多选框。 ## 何时使用 diff --git a/components/collapse/demo/accordion.md b/components/collapse/demo/accordion.md index 25e1b0b7595ec88b23193b2fdc083f3fbd81874c..f920552844dc4cfe5ac29916b94bc15313a06246 100644 --- a/components/collapse/demo/accordion.md +++ b/components/collapse/demo/accordion.md @@ -5,8 +5,6 @@ title: 手风琴 手风琴,每次只打开一个tab。默认打开第一个。 - - ````jsx import { Collapse } from 'antd'; const Panel = Collapse.Panel; diff --git a/components/collapse/demo/basic.md b/components/collapse/demo/basic.md index d90c15d1c9ba0c293631e1edd8e678b8f37615a1..cede52ac46bc7578e23ae3ba0e9aff53c75ac44e 100644 --- a/components/collapse/demo/basic.md +++ b/components/collapse/demo/basic.md @@ -5,8 +5,6 @@ title: 折叠面板 可以同时展开多个面板,这个例子默认展开了第一个。 - - ````jsx import { Collapse } from 'antd'; const Panel = Collapse.Panel; diff --git a/components/collapse/demo/mix.md b/components/collapse/demo/mix.md index 749c8fad70a91891f5e2095cf2fe6511feeac052..193f89d799498fc79cddc23a8b03ba9c1cba504d 100644 --- a/components/collapse/demo/mix.md +++ b/components/collapse/demo/mix.md @@ -5,8 +5,6 @@ title: 面板嵌套 手风琴嵌套折叠面板。 - - ````jsx import { Collapse } from 'antd'; const Panel = Collapse.Panel; diff --git a/components/collapse/index.md b/components/collapse/index.md index 99a63812faf6213cc7737be57182d2bcb63ab75b..88c59117004440ee66840bb7534f63093ef9ee5c 100644 --- a/components/collapse/index.md +++ b/components/collapse/index.md @@ -5,8 +5,6 @@ type: 展示 english: Collapse --- - - 可以折叠/展开的内容区域。 ## 何时使用 diff --git a/components/date-picker/demo/basic.md b/components/date-picker/demo/basic.md index 1659c10c8e03ccf924a2a9df0196e31f4a37a3fc..0c7620c956beefed30257132580d0bc55ad19b8b 100644 --- a/components/date-picker/demo/basic.md +++ b/components/date-picker/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/disabled-date.md b/components/date-picker/demo/disabled-date.md index cc2c6936e70a74a11b8f16dce6d78435fe115937..475b55c3976271acb1ff1abb0d738f1681521871 100644 --- a/components/date-picker/demo/disabled-date.md +++ b/components/date-picker/demo/disabled-date.md @@ -7,8 +7,6 @@ title: 指定不可选择日期 如上例:不可选择今天之后的日期。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/disabled.md b/components/date-picker/demo/disabled.md index 0f9ede92c74e68edeab3865ef1d91204802ef360..1988cf9426a423b51fc528232ccbdec3d8b51d12 100644 --- a/components/date-picker/demo/disabled.md +++ b/components/date-picker/demo/disabled.md @@ -5,8 +5,6 @@ title: 禁用 选择框的不可用状态。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/formatter.md b/components/date-picker/demo/formatter.md index c0d1408efeb4e59405ddf259f05c7bbab14a3daf..45f8ec1a1138329388db09bae4a696e0ed18f47e 100644 --- a/components/date-picker/demo/formatter.md +++ b/components/date-picker/demo/formatter.md @@ -5,8 +5,6 @@ title: 日期格式 使用 `format` 属性,可以自定义你需要的日期显示格式,如 `yyyy/MM/dd`。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/locale.md b/components/date-picker/demo/locale.md index 1fbbee01eaf7e07c4be792776dbe5a326102bfaa..787500b204599490866e680fdbce5aafc5bac995 100644 --- a/components/date-picker/demo/locale.md +++ b/components/date-picker/demo/locale.md @@ -5,8 +5,6 @@ title: 国际化 通过 `locale` 配置时区、语言等, 默认支持 en_US, zh_CN - - ````jsx import { DatePicker } from 'antd'; import enUS from 'antd/lib/date-picker/locale/en_US'; diff --git a/components/date-picker/demo/month-picker.md b/components/date-picker/demo/month-picker.md index e84a26fca4057d240315f920051ead5ffa590ff3..c28e2bb63d151c52281253926ec7f14cc58c0dbe 100644 --- a/components/date-picker/demo/month-picker.md +++ b/components/date-picker/demo/month-picker.md @@ -5,8 +5,6 @@ title: 月选择器 使用 `MonthPicker` 实现月选择器. - - ````jsx import { DatePicker } from 'antd'; const MonthPicker = DatePicker.MonthPicker; diff --git a/components/date-picker/demo/range.md b/components/date-picker/demo/range.md index 8a4bb10703b1b3c848e437297fe6a72a9a800200..15cbe137dbfbe2dd222843a2e4c46845354559a4 100644 --- a/components/date-picker/demo/range.md +++ b/components/date-picker/demo/range.md @@ -5,8 +5,6 @@ title: 日期范围二 使用 `RangePicker` 实现日期范围选择有更好的交互体验。 - - ````jsx import { DatePicker } from 'antd'; const RangePicker = DatePicker.RangePicker; diff --git a/components/date-picker/demo/size.md b/components/date-picker/demo/size.md index 352d08be2bd54bdd4d7ef2f11af12164a638481b..70e962650eb7c1b5b4b0d281ebe9411cf97cd82b 100644 --- a/components/date-picker/demo/size.md +++ b/components/date-picker/demo/size.md @@ -5,8 +5,6 @@ title: 三种大小 三种大小的输入框,大的用在表单中,中的为默认。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/start-end.md b/components/date-picker/demo/start-end.md index e830cc8a658585a44ee1bd8c86695b25f4a86fa8..e6f02a740111d6261cf464f0570705045e77f549 100644 --- a/components/date-picker/demo/start-end.md +++ b/components/date-picker/demo/start-end.md @@ -5,8 +5,6 @@ title: 日期范围一 可以设置 `disabledDate` 方法,来约束开始和结束日期。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/time.md b/components/date-picker/demo/time.md index a4c59aab04f0b93f505542506dd08031c51b35e1..88eabea919580eb6ce9ad0f84b350a829e4b796a 100644 --- a/components/date-picker/demo/time.md +++ b/components/date-picker/demo/time.md @@ -5,8 +5,6 @@ title: 日期时间选择 增加选择时间功能。不要修改时间的格式 `HH:mm:ss`。 - - ````jsx import { DatePicker } from 'antd'; diff --git a/components/date-picker/demo/with-time-picker.md b/components/date-picker/demo/with-time-picker.md index 3ea4f0bb2a2712fb8ab8764f30520864a83bcb3f..d5a9b0c49dac9cf51ffd6bdd84fdd453c96e38b3 100644 --- a/components/date-picker/demo/with-time-picker.md +++ b/components/date-picker/demo/with-time-picker.md @@ -6,8 +6,6 @@ title: 日期时间选择二 和 时间选择框 配合使用。 - - ````jsx import { DatePicker, TimePicker } from 'antd'; diff --git a/components/date-picker/index.md b/components/date-picker/index.md index fde3967ac52d3a0881aaa8464171ccd3a24184f0..87988bd8ca6796f48a17a6fcb3e3d4d433200c81 100644 --- a/components/date-picker/index.md +++ b/components/date-picker/index.md @@ -5,8 +5,6 @@ type: 表单 english: DatePicker --- - - 输入或选择日期的控件。 ## 何时使用 diff --git a/components/dropdown/demo/basic.md b/components/dropdown/demo/basic.md index 919c073e424f81f847a198410e4449f16ba3711a..41d84415ca5517ecdedfd6f872d270b57aaa5e09 100644 --- a/components/dropdown/demo/basic.md +++ b/components/dropdown/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的下拉菜单。 - - ````jsx import { Menu, Dropdown, Icon } from 'antd'; diff --git a/components/dropdown/demo/dropdown-button.md b/components/dropdown/demo/dropdown-button.md index 187e22b77f4cdbb45ea373e2a1352486ea203fd5..57544eb83f8c9d12a5bf87821750839d5d18a6ad 100644 --- a/components/dropdown/demo/dropdown-button.md +++ b/components/dropdown/demo/dropdown-button.md @@ -5,8 +5,6 @@ title: 带下拉框的按钮 左边是按钮,右边是额外的相关功能菜单。 - - ````jsx import { Menu, Dropdown } from 'antd'; const DropdownButton = Dropdown.Button; diff --git a/components/dropdown/demo/event.md b/components/dropdown/demo/event.md index 1eef61c94724ac135046ced85500b401db575fbc..d3eaed922fde936e9948148f1a25332fae63ec93 100644 --- a/components/dropdown/demo/event.md +++ b/components/dropdown/demo/event.md @@ -5,8 +5,6 @@ title: 触发事件 点击菜单项后会触发事件,用户可以通过相应的菜单项 key 进行不同的操作。 - - ````jsx import { Menu, Dropdown, Icon } from 'antd'; const onClick = function ({ key }) { diff --git a/components/dropdown/demo/item.md b/components/dropdown/demo/item.md index 73caa2594d659dff7f84bc9ddb3a7593299232b2..f4f83a83c692966fed93fb70f0abc4f9690a5c38 100644 --- a/components/dropdown/demo/item.md +++ b/components/dropdown/demo/item.md @@ -5,8 +5,6 @@ title: 其他元素 分割线和不可用菜单项。 - - ````jsx import { Menu, Dropdown, Icon } from 'antd'; diff --git a/components/dropdown/demo/sub-menu.md b/components/dropdown/demo/sub-menu.md index 837cee984d89c777b6567884d39d979a48995907..b5ebcbf4014ee232786173aafb2128fa943db897 100644 --- a/components/dropdown/demo/sub-menu.md +++ b/components/dropdown/demo/sub-menu.md @@ -5,8 +5,6 @@ title: 多级菜单 传入的菜单里有多个层级。 - - ````jsx import { Menu, Dropdown, Icon } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/dropdown/demo/trigger.md b/components/dropdown/demo/trigger.md index 62351e36e8c1c7406a60e52a2b87cfdb07853e37..d5d4845f629fc57c65403121b014a75178c2bc1f 100644 --- a/components/dropdown/demo/trigger.md +++ b/components/dropdown/demo/trigger.md @@ -5,8 +5,6 @@ title: 触发方式 默认是移入触发菜单,可以点击触发。 - - ````jsx import { Menu, Dropdown, Icon } from 'antd'; diff --git a/components/dropdown/index.md b/components/dropdown/index.md index 48d37cc834212b8765b27f5549a9271fb8c18cb2..e6ec0e2b18f1c4aa1630ce4584407327f112bac2 100644 --- a/components/dropdown/index.md +++ b/components/dropdown/index.md @@ -5,8 +5,6 @@ type: 展示 english: Dropdown --- - - 向下弹出的列表。 ## 何时使用 diff --git a/components/form/demo/advanced-search-form.md b/components/form/demo/advanced-search-form.md index ead6fad26c737533da046cf6e6895ac898a8f793..b09fcd1d17bf6e1a0cdf71619473eeeffc28d4ef 100644 --- a/components/form/demo/advanced-search-form.md +++ b/components/form/demo/advanced-search-form.md @@ -7,8 +7,6 @@ title: 高级搜索 有部分定制的样式代码,由于输入标签长度不确定,需要根据具体情况自行调整。 - - ````jsx import { Form, Input, Row, Col, Button } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/demo/form-controls.md b/components/form/demo/form-controls.md index e7235b1225d5c4210bfa36d4f309173acddeb7a5..f42ad64e4eb3898153f8f7531a9f13e9b26010c6 100644 --- a/components/form/demo/form-controls.md +++ b/components/form/demo/form-controls.md @@ -7,8 +7,6 @@ title: 表单控件 `注`: 输入框:只有正确设置了 type 属性的输入控件才能被赋予正确的样式。 - - ````jsx import { Form, Input, Select, Checkbox, Radio } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/demo/horizontal-form.md b/components/form/demo/horizontal-form.md index 2a35b6da23aba0d5f31bf96e8e2e627f3a69ce7f..374bd512823c8c622f97f363ad721f3e32fdb514 100644 --- a/components/form/demo/horizontal-form.md +++ b/components/form/demo/horizontal-form.md @@ -5,8 +5,6 @@ title: 典型表单 示例展示了如何通过使用 `Form.create` 来获取和更新表单提交的数值。 - - ````jsx import { Form, Input, Button, Checkbox, Radio, Row, Col, Tooltip, Icon } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/demo/inline-form.md b/components/form/demo/inline-form.md index 0253492ed5a903cb420bb09744ef62ce78400036..59305e58b8ba9a6f74e961eec6cb7619d9052d49 100644 --- a/components/form/demo/inline-form.md +++ b/components/form/demo/inline-form.md @@ -5,8 +5,6 @@ title: 平行排列 行内排列,常用于登录界面。 - - ````jsx import { Form, Input, Button, Checkbox } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/demo/input-group.md b/components/form/demo/input-group.md index 55f0c0899d377d50b3cd193d89f6dcef4197abad..7a3ef4288763b888d7732a80f86deca9800b2026 100644 --- a/components/form/demo/input-group.md +++ b/components/form/demo/input-group.md @@ -5,8 +5,6 @@ title: 输入框组合 各类输入框的组合展现。 - - ````jsx import { Form, Input, Select, Row, Col } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/demo/input.md b/components/form/demo/input.md index b71cd67c6cbe9fe2e74209e3c4e50b0120ace92b..81b27371c0fdc1cfd98ac120da765c2b5c7ff2df 100644 --- a/components/form/demo/input.md +++ b/components/form/demo/input.md @@ -7,9 +7,6 @@ title: Input 输入框 注意: 在表单里面,我们只使用**大尺寸**, 即高度为 **32px**,作为唯一的尺寸。 - - - ````jsx import { Row, Col, Input } from 'antd'; const InputGroup = Input.Group; diff --git a/components/form/demo/mix.md b/components/form/demo/mix.md index c0d99df766ee50cebaa26070ee1aa844a192276e..ffa7651da6d62b04999ba6ff6be171a23414dd81 100644 --- a/components/form/demo/mix.md +++ b/components/form/demo/mix.md @@ -5,8 +5,6 @@ title: 表单组合 集中营,展示和表单相关的其他 ant-design 组件。 - - ````jsx import { Form, Select, InputNumber, DatePicker, TimePicker, Switch, Radio, Slider, Button, Row, Col, Upload, Icon } from 'antd'; diff --git a/components/form/demo/search-input.md b/components/form/demo/search-input.md index d0173ebc17f5e63f59bd86ff9a374ee80bc744a8..9c6336a0b19ee73556e4eff04568b250d1c4e054 100644 --- a/components/form/demo/search-input.md +++ b/components/form/demo/search-input.md @@ -5,9 +5,6 @@ title: 搜索框 带有搜索按钮。 - - - ````jsx import { Icon, Input, Button } from 'antd'; import classNames from 'classnames'; diff --git a/components/form/demo/validate-basic.md b/components/form/demo/validate-basic.md index e7ab62982e306229de8839192fdb16447c575132..cbef4d336e5748e36662fac98213b1e30fbd6a7a 100644 --- a/components/form/demo/validate-basic.md +++ b/components/form/demo/validate-basic.md @@ -5,8 +5,6 @@ title: 表单校验 基本的表单校验例子。 - - ````jsx import { Button, Form, Input } from 'antd'; const createForm = Form.create; diff --git a/components/form/demo/validate-customized.md b/components/form/demo/validate-customized.md index 57ab7e102da1780421255561a575d4ccdb83bbaa..b572f913e3cd02a0a6a12eecaf008adeda028de3 100644 --- a/components/form/demo/validate-customized.md +++ b/components/form/demo/validate-customized.md @@ -7,8 +7,6 @@ title: 自定义校验规则 这里使用了 `this.props.form.validateFields` 方法,在对第一次输入的密码进行校验时会触发二次密码的校验。 - - ````jsx import { Button, Form, Input, Row, Col, Modal } from 'antd'; import classNames from 'classnames'; diff --git a/components/form/demo/validate-other.md b/components/form/demo/validate-other.md index 1a945f1b6f0985a2b168965a2d0951e1ee79398c..67160a91b482b91c18889c6cefc5b4b763eaa8dd 100644 --- a/components/form/demo/validate-other.md +++ b/components/form/demo/validate-other.md @@ -5,8 +5,6 @@ title: 校验其他组件 提供以下组件表单域的校验:`Select` `Radio` `DatePicker` `InputNumber` `Cascader`。在 submit 时使用 `validateFieldsAndScroll`,进行校验,可以自动把不在可见范围内的校验不通过的菜单域滚动进可见范围。 - - ````jsx import { Select, Radio, Checkbox, Button, DatePicker, InputNumber, Form, Cascader, Icon } from 'antd'; const Option = Select.Option; diff --git a/components/form/demo/validate-static.md b/components/form/demo/validate-static.md index 781f4880e441502229121f5830e0b6283db44b9e..17bf84db97798609971c3d1e35f09781f2136b91 100644 --- a/components/form/demo/validate-static.md +++ b/components/form/demo/validate-static.md @@ -11,8 +11,6 @@ validateStatus: ['success', 'warning', 'error', 'validating']。 **注意**: 反馈图标只对 `` 有效。 - - ````jsx import { Form, Input, DatePicker, Col } from 'antd'; const FormItem = Form.Item; diff --git a/components/form/index.md b/components/form/index.md index f24d6a5054681e9ef5fae38a9cb171284b45104c..5f6423bde557e75572f65c5ce4de5f5ff23d0068 100644 --- a/components/form/index.md +++ b/components/form/index.md @@ -6,8 +6,6 @@ cols: 1 english: Form --- - - 具有数据收集、校验和提交功能的表单,包含复选框、单选框、输入框、下拉选择框等元素。 diff --git a/components/icon/index.md b/components/icon/index.md index 88c4dc0f8a91130c030c0cf2fd62291295828fca..5850018bdefa79905c8c9be0c73bf9f27b1a1eae 100644 --- a/components/icon/index.md +++ b/components/icon/index.md @@ -5,8 +5,6 @@ type: 基本 english: Icon --- - - 有含义的矢量图形,每一个图标打倒一个敌人。 ## 图标的命名规范 diff --git a/components/input-number/demo/basic.md b/components/input-number/demo/basic.md index bf8d9d978b3b4444cf2fa588873a857d2f671225..10ee72541e9a811100bf535f3414114d495772ff 100644 --- a/components/input-number/demo/basic.md +++ b/components/input-number/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 数字输入框 - - ````jsx import { InputNumber } from 'antd'; diff --git a/components/input-number/demo/disabled.md b/components/input-number/demo/disabled.md index 4ee3d17623d4d29da96ac42de2b776df45dad24a..0b598df9057ad2e461c8eb7a3f3d844653e09e5c 100644 --- a/components/input-number/demo/disabled.md +++ b/components/input-number/demo/disabled.md @@ -5,8 +5,6 @@ title: 不可用 点击按钮切换可用状态。 - - ````jsx import { InputNumber, Button } from 'antd'; diff --git a/components/input-number/demo/size.md b/components/input-number/demo/size.md index 838261bc270f4a683cb9c04e0deab6cb8f0ddc67..a664059120ac95489865067051e3b35354022f1c 100644 --- a/components/input-number/demo/size.md +++ b/components/input-number/demo/size.md @@ -5,8 +5,6 @@ title: 三种大小 三种大小的数字输入框,当 size 分别为 `large` 和 `small` 时,输入框高度为 `32px` 和 `22px` ,默认高度为 `28px` - - ````jsx import { InputNumber } from 'antd'; diff --git a/components/input-number/index.md b/components/input-number/index.md index e0226e2543206c851a85a1e62068dcdd30a9044a..03d38d10b166c150d4cd73a27aa0a8460605c9e9 100644 --- a/components/input-number/index.md +++ b/components/input-number/index.md @@ -5,8 +5,6 @@ type: 表单 english: InputNumber --- - - 通过鼠标或键盘,输入范围内的数值。 ## 何时使用 diff --git a/components/layout/demo/basic.md b/components/layout/demo/basic.md index 3aa1032ed602683b44d6a238e07ea1e77f8396b1..570ac4f64d7c17173325640ff8ce50de471af4f8 100644 --- a/components/layout/demo/basic.md +++ b/components/layout/demo/basic.md @@ -7,8 +7,6 @@ title: 基础布局 使用单一的一组 `Row` 和 `Col` 栅格组件,就可以创建一个基本的栅格系统,所有列(Col)必须放在 `Row` 内。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/flex-align.md b/components/layout/demo/flex-align.md index 322c23f4ab7e09ff7a741d726be6540b3eba9dca..0c20d1dd465d7f36c632ee08ffa73bef41cf49fc 100644 --- a/components/layout/demo/flex-align.md +++ b/components/layout/demo/flex-align.md @@ -5,8 +5,6 @@ title: Flex对齐 Flex 子元素垂直对齐。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/flex-order.md b/components/layout/demo/flex-order.md index 0f2b1a2345fd6fb31ef312799d90303ad0ea6075..4642142bca186c116d480ecdb88e6cbf9237a2a2 100644 --- a/components/layout/demo/flex-order.md +++ b/components/layout/demo/flex-order.md @@ -5,9 +5,6 @@ title: Flex排序 通过 Flex 布局的 Order 来改变元素的排序。 - - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/flex.md b/components/layout/demo/flex.md index 2af705f63d9a6299636df6652fec13b4538a3848..55089979fe46180a6ee5ecc7dde4d60ade730e06 100644 --- a/components/layout/demo/flex.md +++ b/components/layout/demo/flex.md @@ -7,8 +7,6 @@ Flex 布局基础。 使用 `row-flex` 定义 `flex` 布局,其子元素根据不同的值 `start`,`center`,`end`,`space-between`,`space-around`,分别定义其在父节点里面的排版方式。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/gutter.md b/components/layout/demo/gutter.md index a017ac7574cec66bac8f0374be4e210722d82aa1..62da3478b7e07a1994d2e14049452119ddea4223 100644 --- a/components/layout/demo/gutter.md +++ b/components/layout/demo/gutter.md @@ -5,8 +5,6 @@ title: 区块间隔 栅格常常需要和间隔进行配合,你可以使用 `Row` 的 `gutter` 属性,我们推荐使用 `(16+8n)px` 作为栅格间隔。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/offset.md b/components/layout/demo/offset.md index 4fd17c8cc5aa64f1b4bd2065c1c367108a70770e..9f04e0b0d79ab43857345d0ff2ebd651321b31aa 100644 --- a/components/layout/demo/offset.md +++ b/components/layout/demo/offset.md @@ -7,8 +7,6 @@ title: 左右偏移 使用 `offset` 可以将列向右侧偏。例如,`offset={4}` 将元素向右侧偏移了 4 个列(column)的宽度。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/reponsive-more.md b/components/layout/demo/reponsive-more.md index deeaaf0877d62218941b7d780d9b0e9c27ca4b6a..47d0ca225547a37b801a18372c9df1246d217258 100644 --- a/components/layout/demo/reponsive-more.md +++ b/components/layout/demo/reponsive-more.md @@ -7,8 +7,6 @@ title: 其他属性的响应式 其中 `xs={6}` 相当于 `xs={{ span: 6 }}`。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/reponsive.md b/components/layout/demo/reponsive.md index c2752479142e9eefbe6925c834a056c5410fbcde..c8236eedbf01d8f89d3c428e1ada725a9a4fad80 100644 --- a/components/layout/demo/reponsive.md +++ b/components/layout/demo/reponsive.md @@ -5,8 +5,6 @@ title: 响应式布局 参照 Bootstrap 的响应式设计,预设四个响应尺寸:`xs` `sm` `md` `lg`。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/demo/sort.md b/components/layout/demo/sort.md index 759a27e8f89513e2b80fca4c4166dde4d29ef088..7e3a01480bd502aa94514e7be26d086f4c19f842 100644 --- a/components/layout/demo/sort.md +++ b/components/layout/demo/sort.md @@ -7,8 +7,6 @@ title: 布局排序 通过使用 `push` 和 `pull` 类就可以很容易的改变列(column)的顺序。 - - ````jsx import { Row, Col } from 'antd'; diff --git a/components/layout/index.md b/components/layout/index.md index 7a34a228c85abe9fe6d30a1d1d2313206dddaea0..57d45da045edaff0113f6253b9e132b5868b713b 100644 --- a/components/layout/index.md +++ b/components/layout/index.md @@ -6,8 +6,6 @@ cols: 1 english: Layout --- - - 24 栅格系统。 ## 设计理念 diff --git a/components/locale-provider/demo/all.md b/components/locale-provider/demo/all.md index e19e58e2a3422b0fa4c053849c81bd467f2018b7..ce85a186a85b0cb6c77b22c08922ea63e49f6780 100644 --- a/components/locale-provider/demo/all.md +++ b/components/locale-provider/demo/all.md @@ -5,8 +5,6 @@ title: 所有组件 此处列出 Ant Design 中需要国际化支持的组件,你可以在演示里切换语言。 - - ````jsx import { LocaleProvider, Pagination, DatePicker, TimePicker, Calendar, Popconfirm, Table, Modal, Button, Select, Transfer } from 'antd'; diff --git a/components/locale-provider/demo/basic.md b/components/locale-provider/demo/basic.md index 5187a59f71634fd553bbba10462fdf734069dc38..8d3fb985b1528b431448172de1d03d8c9fd93f0b 100644 --- a/components/locale-provider/demo/basic.md +++ b/components/locale-provider/demo/basic.md @@ -5,8 +5,6 @@ title: 国际化 用 `LocaleProvider` 包裹你的应用,并引用对应的语言包。 - - ````jsx import { Pagination, LocaleProvider } from 'antd'; import enUS from 'antd/lib/locale-provider/en_US'; diff --git a/components/locale-provider/index.md b/components/locale-provider/index.md index 06463a1a5ef7cd90dcfd2c58d287b35df86501e2..bab7a793643561a964d9e936f429644b65c7a502 100644 --- a/components/locale-provider/index.md +++ b/components/locale-provider/index.md @@ -6,8 +6,6 @@ type: 其它 english: LocaleProvider --- - - 为组件内建文案提供统一的国际化支持。 ## 使用 diff --git a/components/menu/demo/horizontal.md b/components/menu/demo/horizontal.md index 05eb72d8a30de384504de272042818e62e44adca..c36e2357861c59ed30eea294ac97b66515689d29 100644 --- a/components/menu/demo/horizontal.md +++ b/components/menu/demo/horizontal.md @@ -5,8 +5,6 @@ title: 顶部导航 水平的顶部导航菜单。 - - ````jsx import { Menu, Icon } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/menu/demo/sider-current.md b/components/menu/demo/sider-current.md index d0a60614b431c9694dc99b9670565b27c2d2f3ea..6b3040707349f9ef47bd1bda2031aeceed982827 100644 --- a/components/menu/demo/sider-current.md +++ b/components/menu/demo/sider-current.md @@ -5,8 +5,6 @@ title: 只展开当前父级菜单 点击菜单,收起其他展开的所有菜单,保持菜单聚焦简洁。 - - ````jsx import { Menu, Icon } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/menu/demo/sider.md b/components/menu/demo/sider.md index e272bce214d1c37d16c689ea567d7e0eb415ad88..2100d1d15d6171d9f65130bc2fca3881ba396c84 100644 --- a/components/menu/demo/sider.md +++ b/components/menu/demo/sider.md @@ -5,8 +5,6 @@ title: 内嵌菜单 垂直菜单,子菜单内嵌在菜单区域。 - - ````jsx import { Menu, Icon } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/menu/demo/theme.md b/components/menu/demo/theme.md index d52034ae18a91d5efa1392ca1b8cc422aa336ce1..6a3fdd0704849a7d2039113ab2cb7a56a5144ef4 100644 --- a/components/menu/demo/theme.md +++ b/components/menu/demo/theme.md @@ -5,8 +5,6 @@ title: 主题 内建了两套主题 `light|dark`,默认 `light`。 - - ````jsx import { Menu, Icon, Switch } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/menu/demo/vertical.md b/components/menu/demo/vertical.md index af042a63fc8da2ba01200c8d494be33ac0464253..859a7d1523414c680a33cd7e502021fb4d8fbb6f 100644 --- a/components/menu/demo/vertical.md +++ b/components/menu/demo/vertical.md @@ -5,8 +5,6 @@ title: 垂直菜单 子菜单是弹出的形式。 - - ````jsx import { Menu, Icon } from 'antd'; const SubMenu = Menu.SubMenu; diff --git a/components/menu/index.md b/components/menu/index.md index 2e56d947149debe318d8158b123b38fc993cc01e..d26110aa5fc778477e60e5932ac2ac63915be914 100644 --- a/components/menu/index.md +++ b/components/menu/index.md @@ -6,8 +6,6 @@ type: 导航 english: Menu --- - - 为页面和功能提供导航的菜单列表。 ## 何时使用 diff --git a/components/message/demo/duration.md b/components/message/demo/duration.md index 4d2adb49c888ac6e4986ea7e726e82f029773c3f..f662465f2af502566d716b15597610b17467b4d5 100644 --- a/components/message/demo/duration.md +++ b/components/message/demo/duration.md @@ -5,8 +5,6 @@ title: 修改延时 自定义时长 `10s`,默认时长为 `1.5s`。 - - ````jsx import { message, Button } from 'antd'; diff --git a/components/message/demo/info.md b/components/message/demo/info.md index 5694392833129c475c76afbb9301f2677c343150..16c6a24e3874007b476805ecfd931f68c36da123 100644 --- a/components/message/demo/info.md +++ b/components/message/demo/info.md @@ -5,8 +5,6 @@ title: 普通提示 信息提醒反馈。 - - ````jsx import { message, Button } from 'antd'; diff --git a/components/message/demo/loading.md b/components/message/demo/loading.md index 13a21219e0dd9c935ffab1561be8e87cbb3612dc..5d11e137cb997eb08a236b8b72c0222c481b05ff 100644 --- a/components/message/demo/loading.md +++ b/components/message/demo/loading.md @@ -5,8 +5,6 @@ title: 加载中 进行全局 loading,异步自行移除。 - - ````jsx import { message, Button } from 'antd'; diff --git a/components/message/demo/other.md b/components/message/demo/other.md index 3a8d6a17833fb3f86e4a9029763edd6bd568c366..99aea5785d268a3ef4bcb418503a927100497fd2 100644 --- a/components/message/demo/other.md +++ b/components/message/demo/other.md @@ -5,8 +5,6 @@ title: 其他提示类型 包括成功、失败、警告。 - - ````jsx import { message, Button } from 'antd'; diff --git a/components/message/index.md b/components/message/index.md index 6ed4716e7398d17f0b3802d08ba37b2d4a0119fd..1b5ca9d4a8e6919453f5af2e9c43a9f6c56275dc 100644 --- a/components/message/index.md +++ b/components/message/index.md @@ -6,8 +6,6 @@ noinstant: true english: Message --- - - 全局展示操作反馈信息。 ## 何时使用 diff --git a/components/modal/demo/async.md b/components/modal/demo/async.md index 71f28706c35f6412556b185b3d34f7d6239b19a4..806454becc13830bf35138441f483f4756084589 100644 --- a/components/modal/demo/async.md +++ b/components/modal/demo/async.md @@ -5,8 +5,6 @@ title: 异步关闭 点击确定后异步关闭对话框,例如提交表单。 - - ````jsx import { Modal, Button } from 'antd'; diff --git a/components/modal/demo/basic.md b/components/modal/demo/basic.md index e1bb8d2975f840be58cee02f824dbe06761266a5..294f0ccbe257b1605fd575aaaeb5619646d8c29f 100644 --- a/components/modal/demo/basic.md +++ b/components/modal/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 第一个对话框。 - - ````jsx import { Modal, Button } from 'antd'; diff --git a/components/modal/demo/confirm-promise.md b/components/modal/demo/confirm-promise.md index 5a73598bf4cae3da667fbeb280804a7bd25e5cc5..c742b4e045cb7f51b4cdbcf6b8483cd780042f09 100644 --- a/components/modal/demo/confirm-promise.md +++ b/components/modal/demo/confirm-promise.md @@ -5,8 +5,6 @@ title: 确认对话框 使用 `confirm()` 可以快捷地弹出确认框。onCancel/onOk 返回 promise 可以延迟关闭 - - ````jsx import { Modal, Button } from 'antd'; const confirm = Modal.confirm; diff --git a/components/modal/demo/confirm.md b/components/modal/demo/confirm.md index 02765e9a605a2f173d2f9e92d1d858f1438c29b3..1fa0e8afb31374fd8d90949a5c5bccb7dfbfda1e 100644 --- a/components/modal/demo/confirm.md +++ b/components/modal/demo/confirm.md @@ -5,8 +5,6 @@ title: 确认对话框 使用 `confirm()` 可以快捷地弹出确认框。 - - ````jsx import { Modal, Button } from 'antd'; const confirm = Modal.confirm; diff --git a/components/modal/demo/footer.md b/components/modal/demo/footer.md index 4f9e9f1f587889cb7532f32d80b333d8fc766ffe..4770b7e38b45dc8909bbb016bed2cb1603956484 100644 --- a/components/modal/demo/footer.md +++ b/components/modal/demo/footer.md @@ -5,8 +5,6 @@ title: 自定义页脚 更复杂的例子,自定义了页脚的按钮,点击提交后进入 loading 状态,完成后关闭。 - - ````jsx import { Modal, Button } from 'antd'; diff --git a/components/modal/demo/info.md b/components/modal/demo/info.md index 54c1a6e1b97f1a4b6bfafdb07f48ae4f952cc72c..2cd45512dfc02daac8ecbe02e7cc81ed7f1c7d39 100644 --- a/components/modal/demo/info.md +++ b/components/modal/demo/info.md @@ -5,8 +5,6 @@ title: 信息提示 各种类型的信息提示,只提供一个按钮用于关闭。 - - ````jsx import { Modal, Button } from 'antd'; diff --git a/components/modal/demo/locale.md b/components/modal/demo/locale.md index d85e2046d49132f62e4c7ddf834ac554880c64bf..2434ccf7fd8d0746e4d84b90d87b0500fe54c997 100644 --- a/components/modal/demo/locale.md +++ b/components/modal/demo/locale.md @@ -5,8 +5,6 @@ title: 国际化 设置 `okText` 与 `cancelText` 以自定义按钮文字。 - - ````jsx import { Modal, Button } from 'antd'; diff --git a/components/modal/index.md b/components/modal/index.md index 08546b01c95eb75881839d08b2e9b304501a08fc..79c59e300395a2c160ebdc93dbe0cbe41e0c97f1 100644 --- a/components/modal/index.md +++ b/components/modal/index.md @@ -5,8 +5,6 @@ chinese: 对话框 english: Modal --- - - 模态对话框。 ## 何时使用 diff --git a/components/notification/demo/basic.md b/components/notification/demo/basic.md index dbf598ac0ec1be9261bbd67cd4166634bae1c309..212216774ba7defc017f97f49a7b77529187b08c 100644 --- a/components/notification/demo/basic.md +++ b/components/notification/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法,五秒后自动关闭。 - - ````jsx import { Button, notification } from 'antd'; diff --git a/components/notification/demo/duration.md b/components/notification/demo/duration.md index 3d4ed3a83f12d38ffc1159178caac1567ee9c57a..5eed72c3d7419d00533943bd0a23aff7f7a60d03 100644 --- a/components/notification/demo/duration.md +++ b/components/notification/demo/duration.md @@ -5,8 +5,6 @@ title: 自动关闭的延时 自定义通知框自动关闭的延时,默认`4.5s`,取消自动关闭只要将该值设为 `0` 即可。 - - ````jsx import { Button, notification } from 'antd'; diff --git a/components/notification/demo/with-btn.md b/components/notification/demo/with-btn.md index 7ba2cbfe6d28d34e3336aa6a24cae5866b64afac..59c5b4bd3abca2f55ea661d5d27eff5200cc4771 100644 --- a/components/notification/demo/with-btn.md +++ b/components/notification/demo/with-btn.md @@ -5,8 +5,6 @@ title: 自定义 自定义关闭按钮的样式和文字。 - - ````jsx import { Button, notification } from 'antd'; diff --git a/components/notification/demo/with-icon.md b/components/notification/demo/with-icon.md index db37452b02d35aa0ed969c324bc8e2493fc8e8d7..fe759d18851b40a535d6191069991fc49b48837c 100644 --- a/components/notification/demo/with-icon.md +++ b/components/notification/demo/with-icon.md @@ -5,8 +5,6 @@ title: 带有Icon的通知提醒框 通知提醒框左侧有图标。 - - ````jsx import { Button, notification } from 'antd'; diff --git a/components/notification/index.md b/components/notification/index.md index 445f31a351a926e7f04caa5a1f08d05680a52af1..78a8d72cfe94c1a86a3b93b11846fd78fbfc932c 100644 --- a/components/notification/index.md +++ b/components/notification/index.md @@ -6,8 +6,6 @@ noinstant: true english: Notification --- - - 全局展示通知提醒信息。 ## 何时使用 diff --git a/components/pagination/demo/basic.md b/components/pagination/demo/basic.md index 6ebfe61a69e30f3ae726a143995af058dfb25ae3..83b16b2006dc0add0fa67d8dd5932b7cb0cfb2b9 100644 --- a/components/pagination/demo/basic.md +++ b/components/pagination/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 基础分页。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/changer.md b/components/pagination/demo/changer.md index 3225217d4722c1c54ced51f05e2492f9eda3516f..d8cab37774f1270c7d20131c1a3ec6bac00d93e8 100644 --- a/components/pagination/demo/changer.md +++ b/components/pagination/demo/changer.md @@ -5,8 +5,6 @@ title: 改变 改变每页显示条目数。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/controlled.md b/components/pagination/demo/controlled.md index 3c6a16a43cc820ed55a860e469411ee828176e29..4341219e644a2e3439b07829030e7694b3c8ec50 100644 --- a/components/pagination/demo/controlled.md +++ b/components/pagination/demo/controlled.md @@ -5,8 +5,6 @@ title: 受控 受控制的页码。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/jump.md b/components/pagination/demo/jump.md index 7be75c6752e7bd1579c036c9eaa42766e595a912..ce0702087bc6c63ea11a9f7f3a12f51a2055c8db 100644 --- a/components/pagination/demo/jump.md +++ b/components/pagination/demo/jump.md @@ -5,8 +5,6 @@ title: 跳转 快速跳转到某一页。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/mini.md b/components/pagination/demo/mini.md index e59cf708f764e7984edff6f82b6a65757aac9e49..b0a815d01733df81e4f9fa74727d158814f71ebe 100644 --- a/components/pagination/demo/mini.md +++ b/components/pagination/demo/mini.md @@ -5,8 +5,6 @@ title: 迷你 迷你版本。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/more.md b/components/pagination/demo/more.md index 564002bebf0dae71c8ed1c06f10d6d288048702c..74468cb54e8d6671ae7d37c5e5b3ebf26cf8dde4 100644 --- a/components/pagination/demo/more.md +++ b/components/pagination/demo/more.md @@ -5,8 +5,6 @@ title: 更多 更多分页。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/simple.md b/components/pagination/demo/simple.md index f0325ced115c33186d3b7708af0cd44c02951e35..70b0b43198ebb2784b84704f1d4e9956fcc89335 100644 --- a/components/pagination/demo/simple.md +++ b/components/pagination/demo/simple.md @@ -5,8 +5,6 @@ title: 简洁 简单地翻页。 - - ````jsx import { Pagination } from 'antd'; diff --git a/components/pagination/demo/total.md b/components/pagination/demo/total.md index ef1a0e299a65c385db372dc607e6c5b5e242af50..a66537cb5655607a89612775298ae57cd85008ec 100644 --- a/components/pagination/demo/total.md +++ b/components/pagination/demo/total.md @@ -5,8 +5,6 @@ title: 总数 通过设置 `showTotal` 展示总共有多少数据。 - - ````jsx import { Pagination, Select } from 'antd'; diff --git a/components/pagination/index.md b/components/pagination/index.md index b6212ab7b76b4bab4a0d8be4594f69e2706e52bb..481d73c0e8e6a31ba7afdf9f9f47459a654a2121 100644 --- a/components/pagination/index.md +++ b/components/pagination/index.md @@ -5,8 +5,6 @@ type: 导航 english: Pagination --- - - 采用分页的形式分隔长列表,每次只加载一个页面。 ## 何时使用 diff --git a/components/popconfirm/demo/basic.md b/components/popconfirm/demo/basic.md index dc86ea19878f3afe0df20536551ff8d28ce031d6..41a3267274a2f1615f1e72465867bf355cd32c72 100644 --- a/components/popconfirm/demo/basic.md +++ b/components/popconfirm/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Popconfirm, message } from 'antd'; diff --git a/components/popconfirm/demo/dynamic-trigger.md b/components/popconfirm/demo/dynamic-trigger.md index 834a0b62497378e8f3a25c624166a01a80d94825..1f8b3ab2142137cd8eb7ef3da38fc4fdf037797d 100644 --- a/components/popconfirm/demo/dynamic-trigger.md +++ b/components/popconfirm/demo/dynamic-trigger.md @@ -5,8 +5,6 @@ title: 条件触发 可以判断是否需要弹出。 - - ````jsx import { Popconfirm, Switch, message } from 'antd'; diff --git a/components/popconfirm/demo/locale.md b/components/popconfirm/demo/locale.md index e8a0068f990f0c486b335ffd274a3edad98c7bf9..08c59a32f894c1347df5242da643d51774290010 100644 --- a/components/popconfirm/demo/locale.md +++ b/components/popconfirm/demo/locale.md @@ -5,8 +5,6 @@ title: 国际化 设置 `okText` `cancelText` 以自定义按钮文字。 - - ````jsx import { Popconfirm } from 'antd'; diff --git a/components/popconfirm/demo/placement.md b/components/popconfirm/demo/placement.md index 49f541b2d91dd57f6a104469e743210245a881a9..a67711c832176d299fc8e2731d73032fb70e4feb 100644 --- a/components/popconfirm/demo/placement.md +++ b/components/popconfirm/demo/placement.md @@ -5,8 +5,6 @@ title: 位置 位置有十二个方向。 - - ````jsx import { Popconfirm, message, Button } from 'antd'; diff --git a/components/popconfirm/index.md b/components/popconfirm/index.md index e424ae92d81ab6365f8c40ed0041727fdf378915..7ff27f64861c5898c96b33f790f3db420c1404d1 100644 --- a/components/popconfirm/index.md +++ b/components/popconfirm/index.md @@ -5,8 +5,6 @@ type: 展示 english: Popconfirm --- - - 点击元素,弹出气泡式的确认框。 ## 何时使用 diff --git a/components/popover/demo/basic.md b/components/popover/demo/basic.md index b33bc5e9b81e3f455ba34cd782a35667c4878883..c82a51308a74c2d790e1dd4baf0179d55430fe89 100644 --- a/components/popover/demo/basic.md +++ b/components/popover/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法,浮层的大小由内容区域决定。 - - ````jsx import { Popover, Button } from 'antd'; diff --git a/components/popover/demo/control.md b/components/popover/demo/control.md index 645848aff90b35e90b4109b29fee8835dd5fed49..e455cee10b4feb3566034c54a33dff262a34c9d6 100644 --- a/components/popover/demo/control.md +++ b/components/popover/demo/control.md @@ -5,8 +5,6 @@ title: 从浮层内关闭 使用 `visible` 属性控制浮层显示。 - - ````jsx import { Popover, Button } from 'antd'; diff --git a/components/popover/demo/placement.md b/components/popover/demo/placement.md index fe7136aa779d59229b6480207bee721df82d5165..20c1976ebca983fde68d4d792c01966307c10536 100644 --- a/components/popover/demo/placement.md +++ b/components/popover/demo/placement.md @@ -5,8 +5,6 @@ title: 位置 位置有十二个方向。 - - ````jsx import { Popover, Button } from 'antd'; diff --git a/components/popover/demo/triggerType.md b/components/popover/demo/triggerType.md index 60a9033980d2ecfcf93d8d48136113925cb8d2fe..1b76772a56dcfd7b16c67fbc8199a245d3e34e97 100644 --- a/components/popover/demo/triggerType.md +++ b/components/popover/demo/triggerType.md @@ -5,8 +5,6 @@ title: 三种触发方式 鼠标移入、聚集、点击。 - - ````jsx import { Popover, Button } from 'antd'; diff --git a/components/popover/index.md b/components/popover/index.md index bfc74a3a2313d0d5aa4ecee9bc57f86e280619cc..4a8ee421ac6bdf0b8098d3ebdac26173af178679 100644 --- a/components/popover/index.md +++ b/components/popover/index.md @@ -5,8 +5,6 @@ type: 展示 english: Popover --- - - 点击/鼠标移入元素,弹出气泡式的卡片浮层。 ## 何时使用 diff --git a/components/progress/demo/circle-dynamic.md b/components/progress/demo/circle-dynamic.md index e9576bd27b05b47855418ca35ffda8b5d20b8147..3778a86713a3cb79dcaaef88c648d841f498d88d 100644 --- a/components/progress/demo/circle-dynamic.md +++ b/components/progress/demo/circle-dynamic.md @@ -5,8 +5,6 @@ title: 进度圈动态展示 会动的进度条才是好进度条。 - - ````jsx import { Progress, Button, Icon } from 'antd'; const ProgressCircle = Progress.Circle; diff --git a/components/progress/demo/circle-mini.md b/components/progress/demo/circle-mini.md index 67212f66bd5f3180adb2e6615a56df5dbc0cf6b4..0b702fb7736cb7deefbd2934022b2ee88aeaf67e 100644 --- a/components/progress/demo/circle-mini.md +++ b/components/progress/demo/circle-mini.md @@ -5,8 +5,6 @@ title: 小型进度圈 小一号的圈形进度。 - - ````jsx import { Progress } from 'antd'; const ProgressCircle = Progress.Circle; diff --git a/components/progress/demo/circle.md b/components/progress/demo/circle.md index 8eca7aa3dd6e2685c4dd8f3325cda3594fad619d..0e71e02239025f70f609804735063bfc24b5f1e9 100644 --- a/components/progress/demo/circle.md +++ b/components/progress/demo/circle.md @@ -5,8 +5,6 @@ title: 进度圈 圈形的进度。 - - ````jsx import { Progress } from 'antd'; const ProgressCircle = Progress.Circle; diff --git a/components/progress/demo/dynamic.md b/components/progress/demo/dynamic.md index 383274aebdbc72e62c7b3ae9d7b48d79e0158c84..1f34355b3ed8ffef499bd4dd9a22a4edcaa6109b 100644 --- a/components/progress/demo/dynamic.md +++ b/components/progress/demo/dynamic.md @@ -5,8 +5,6 @@ title: 动态展示 会动的进度条才是好进度条。 - - ````jsx import { Progress, Button, Icon } from 'antd'; const ProgressLine = Progress.Line; diff --git a/components/progress/demo/format.md b/components/progress/demo/format.md index 62bb6d42d392ad40cd207ddf69469a4a65db6cba..e3ed41786c2c1942ba4ca84a983b307311689f78 100644 --- a/components/progress/demo/format.md +++ b/components/progress/demo/format.md @@ -5,8 +5,6 @@ title: 自定义文字格式 `format` 属性指定格式。 - - ````jsx import { Progress } from 'antd'; const ProgressCircle = Progress.Circle; diff --git a/components/progress/demo/line-mini.md b/components/progress/demo/line-mini.md index b26aa93c80dbeca106ce0adeb3bf0596452eec69..3cc9630a41554f0be34fa42956053caa4987961b 100644 --- a/components/progress/demo/line-mini.md +++ b/components/progress/demo/line-mini.md @@ -5,8 +5,6 @@ title: 小型进度条 适合放在较狭窄的区域内。 - - ````jsx import { Progress } from 'antd'; const ProgressLine = Progress.Line; diff --git a/components/progress/demo/line.md b/components/progress/demo/line.md index e97ae8a1e553fc441b2c56634b82325605c2529f..ef9b22c94ece1af381b6c518c70e34e01e59ca09 100644 --- a/components/progress/demo/line.md +++ b/components/progress/demo/line.md @@ -5,8 +5,6 @@ title: 进度条 标准的进度条。 - - ````jsx import { Progress } from 'antd'; const ProgressLine = Progress.Line; diff --git a/components/progress/index.md b/components/progress/index.md index 0fc56c6680b98319984caeb7e0571ecb8658ae7b..e720548365e7a255ac8c4d8a13b6f865aaadb40a 100644 --- a/components/progress/index.md +++ b/components/progress/index.md @@ -5,8 +5,6 @@ type: 展示 english: Progress --- - - 展示操作的当前进度。 ## 何时使用 diff --git a/components/queue-anim/demo/basic.md b/components/queue-anim/demo/basic.md index 2b80ad4b99796fd567439c8ede945eb48a36b0d3..84daabfea6e7bd46f9b97e2b548a10d1fe2bdd4a 100644 --- a/components/queue-anim/demo/basic.md +++ b/components/queue-anim/demo/basic.md @@ -5,8 +5,6 @@ title: 进场和离场 同时支持进场和离场动画。 - - ````jsx import { QueueAnim, Button } from 'antd'; diff --git a/components/queue-anim/demo/change.md b/components/queue-anim/demo/change.md index 66d3d09e225f72a5ec9af5eefcf74244603107c6..7ea2e7ab2e38b5ed218cc9540bdf7e3e89d567ed 100644 --- a/components/queue-anim/demo/change.md +++ b/components/queue-anim/demo/change.md @@ -5,8 +5,6 @@ title: 添加与删除 场景里有增加或删除条目时也会触发动画。 - - ````jsx import { QueueAnim, Button } from 'antd'; diff --git a/components/queue-anim/demo/custom.md b/components/queue-anim/demo/custom.md index 908cf0e4b8285468cad1cc15585685931fbacff8..63308a3ee4dfeacecb62504c63b2f7ad166440cf 100644 --- a/components/queue-anim/demo/custom.md +++ b/components/queue-anim/demo/custom.md @@ -5,8 +5,6 @@ title: 自定义动画进出场 通过 `animConfig` 来自定义动画进出场。 - - ````jsx import { QueueAnim, Button } from 'antd'; diff --git a/components/queue-anim/demo/enter-leave.md b/components/queue-anim/demo/enter-leave.md index 9f6e2427d423cb4582025ebe4451ede961a91265..e72835904b8e64ff43a64e315d0b51063b4843c9 100644 --- a/components/queue-anim/demo/enter-leave.md +++ b/components/queue-anim/demo/enter-leave.md @@ -5,8 +5,6 @@ title: 进场和离场 通过把属性设置一个数组来分别表示进出场的效果,`type`、`animConfig`、`delay`、`duration`、`interval`、`ease` 等属性均支持配置为数组。 - - ````jsx import { QueueAnim, Button } from 'antd'; diff --git a/components/queue-anim/demo/form.md b/components/queue-anim/demo/form.md index 1d4a3db0334a22953fd3cbb6667dc1178af98166..04a1b23a71419160df178bea21b2e6afae2fa716 100644 --- a/components/queue-anim/demo/form.md +++ b/components/queue-anim/demo/form.md @@ -5,8 +5,6 @@ title: 表单动画进出场 表单组合的进场与出场动画。 - - ````jsx import { QueueAnim, Button, Radio, Input, Form, Row, Col } from 'antd'; const FormItem = Form.Item; diff --git a/components/queue-anim/demo/page.md b/components/queue-anim/demo/page.md index 6f27a2bbdab36d808463e6b128df77bcb17bcecc..ed57588e6787a08e87f74c2bfb301febff3f4b48 100644 --- a/components/queue-anim/demo/page.md +++ b/components/queue-anim/demo/page.md @@ -5,8 +5,6 @@ title: 一个复杂些的例子 模拟一个完整的页面。 - - ````jsx import { QueueAnim, Button } from 'antd'; diff --git a/components/queue-anim/demo/router.md b/components/queue-anim/demo/router.md index cdb7f8ddfd46d33515d76799012ffa4fdff3be22..f419f3e59db7b0cc6a61bd7096f400e0137b00a8 100644 --- a/components/queue-anim/demo/router.md +++ b/components/queue-anim/demo/router.md @@ -6,8 +6,6 @@ title: Router 默认进出场 router 组合的进场与出场动画。 - - ````jsx const ReactRouter = require('react-router'); let { Router, Route, Link, hashHistory } = ReactRouter; diff --git a/components/queue-anim/demo/simple.md b/components/queue-anim/demo/simple.md index 40e824cf5670f03af175ea379f713f1b9ea99ec1..7c79f6fd91a3ed030d28afbe0d78c50b2337d4c2 100644 --- a/components/queue-anim/demo/simple.md +++ b/components/queue-anim/demo/simple.md @@ -5,8 +5,6 @@ title: 默认 最简单的进场例子。 - - ````jsx import { QueueAnim } from 'antd'; diff --git a/components/queue-anim/index.md b/components/queue-anim/index.md index bf5a164d933ef23abf395c74b37962faef8bb31b..b7b1c7780fbf3214f079c40b31d2611f0fa4a906 100644 --- a/components/queue-anim/index.md +++ b/components/queue-anim/index.md @@ -5,8 +5,6 @@ type: 其它 english: QueueAnim --- - - 通过简单的配置对一组元素添加串行的进场动画效果。 ## 何时使用 diff --git a/components/radio/demo/basic.md b/components/radio/demo/basic.md index 1ceb113c4e75fa575c22bd9d4318f46a5ba79f8f..4d53de92c6514e481a4d6379ddfe34ebee3cb883 100644 --- a/components/radio/demo/basic.md +++ b/components/radio/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Radio } from 'antd'; diff --git a/components/radio/demo/disable.md b/components/radio/demo/disable.md index 896033063433153309ea018d79e2edc3c96479d0..d42089dab0f12cf7c949c96a0359443344b92561 100644 --- a/components/radio/demo/disable.md +++ b/components/radio/demo/disable.md @@ -5,8 +5,6 @@ title: 不可用 Radio 不可用。 - - ````jsx import { Radio, Button } from 'antd'; diff --git a/components/radio/demo/radiobutton.md b/components/radio/demo/radiobutton.md index ffac7ca1eb23a54022eb9fdfaa19b365cf83fabb..c5d21f7a9d33ee26926b7f3d47e1a286bb7db002 100644 --- a/components/radio/demo/radiobutton.md +++ b/components/radio/demo/radiobutton.md @@ -5,8 +5,6 @@ title: 按钮样式 按钮样式的单选组合。 - - ````jsx import { Radio } from 'antd'; const RadioButton = Radio.Button; diff --git a/components/radio/demo/radiogroup-more.md b/components/radio/demo/radiogroup-more.md index 1c2b67dc66dec4456ebea03be1e849733e7ee325..040960e78a1294b4ecf5f31176c7cee9a9c56e78 100644 --- a/components/radio/demo/radiogroup-more.md +++ b/components/radio/demo/radiogroup-more.md @@ -5,8 +5,6 @@ title: RadioGroup 垂直 垂直的 RadioGroup,配合更多输入框选项。 - - ````jsx import { Radio, Input } from 'antd'; const RadioGroup = Radio.Group; diff --git a/components/radio/demo/radiogroup.md b/components/radio/demo/radiogroup.md index 7c8c931ca344c8bb5ad8b47c5cd3602d6beb5597..efe13978f8e17d52546b7d5dc88cee7e8307c612 100644 --- a/components/radio/demo/radiogroup.md +++ b/components/radio/demo/radiogroup.md @@ -5,8 +5,6 @@ title: RadioGroup 组合 一组互斥的 Radio 配合使用。 - - ````jsx import { Radio } from 'antd'; const RadioGroup = Radio.Group; diff --git a/components/radio/demo/size.md b/components/radio/demo/size.md index d36371616e94100639fddc9e7de28064357687b1..53b0225a3b7cab37ed8766526f9d864b66635aae 100644 --- a/components/radio/demo/size.md +++ b/components/radio/demo/size.md @@ -5,8 +5,6 @@ title: 大小 大中小三种组合,可以和表单输入框进行对应配合。 - - ````jsx import { Radio } from 'antd'; const RadioButton = Radio.Button; diff --git a/components/radio/index.md b/components/radio/index.md index eb714f3842acebdeb4612c031d13376cce3dac69..24a1c6ed4b1b12b6011995a24671e9ff091b000f 100644 --- a/components/radio/index.md +++ b/components/radio/index.md @@ -5,8 +5,6 @@ type: 表单 english: Radio --- - - 单选框。 ## 何时使用 diff --git a/components/rate/demo/basic.md b/components/rate/demo/basic.md index e3df530b9f1b9ed517dd2d6899f69ed101153b78..b368801a5da1582cd9caf4076f23b8f15e223659 100644 --- a/components/rate/demo/basic.md +++ b/components/rate/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Rate } from 'antd'; diff --git a/components/rate/index.md b/components/rate/index.md index 6d02fc2aa7f8831d45ec67e7ccbb8f8e33dab0a4..02bee0e3d6f05a82d192d49766b2aba7d8f1350b 100644 --- a/components/rate/index.md +++ b/components/rate/index.md @@ -5,8 +5,6 @@ type: 表单 english: Rate --- - - 评分组件。 ## 何时使用 diff --git a/components/select/demo/basic.md b/components/select/demo/basic.md index 34110228c8a2fe1d11163031d28231ba321f6819..eed620ebb133952643a82ecb28c12253eb3c78d9 100644 --- a/components/select/demo/basic.md +++ b/components/select/demo/basic.md @@ -5,8 +5,6 @@ title: 基本使用 基本使用。 - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/combobox.md b/components/select/demo/combobox.md index 6526993003bd7d6f045fe65e2699b85a6225f08c..ff2a01b4795ac8a5180c609af09935c2be9f9f7f 100644 --- a/components/select/demo/combobox.md +++ b/components/select/demo/combobox.md @@ -5,9 +5,6 @@ title: 智能提示 输入框自动完成功能,下面是一个账号注册表单的例子。 - - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/coordinate.md b/components/select/demo/coordinate.md index 7b2990cd02dba7d428d93403bcf17b4641681556..30b756a4a45f4fc63caf016ec412dd9d39fbc26c 100644 --- a/components/select/demo/coordinate.md +++ b/components/select/demo/coordinate.md @@ -7,8 +7,6 @@ title: 联动 推荐使用 cascader 组件。 - - ````jsx import { Select } from 'antd'; const Option = Select.Option; @@ -19,7 +17,6 @@ const cityData = { 江苏: ['南京', '苏州', '镇江'] }; - const App = React.createClass({ getInitialState() { return { diff --git a/components/select/demo/multiple.md b/components/select/demo/multiple.md index a81d42aafb3b5c75169e44b78684bcacef1f4ef1..5456abdcb181aa1cadc8ff03f39e8c2578142069 100644 --- a/components/select/demo/multiple.md +++ b/components/select/demo/multiple.md @@ -5,9 +5,6 @@ title: 多选 多选,从已有条目中选择(scroll the menu) - - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/optgroup.md b/components/select/demo/optgroup.md index e36c4ea53db480233319abad378386b913688269..ea9ca27309de91856d5307c92cd69bb48cc75314 100644 --- a/components/select/demo/optgroup.md +++ b/components/select/demo/optgroup.md @@ -5,8 +5,6 @@ title: 分组 用 `OptGroup` 进行选项分组。 - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/search-box.md b/components/select/demo/search-box.md index c940dbac076ac3096c2e865897afb59378284285..a03683218e1beede80ce6d8134b382f37f7b399d 100644 --- a/components/select/demo/search-box.md +++ b/components/select/demo/search-box.md @@ -5,8 +5,6 @@ title: 搜索框 带有搜索按钮的自动补全输入框。 - - ````jsx import { Input, Select, Button, Icon } from 'antd'; import jsonp from 'jsonp'; diff --git a/components/select/demo/search.md b/components/select/demo/search.md index f00ef0e0ab471164eda8b9e2dd0abb36dfb2dbba..7f8988cc05845645d920ca44826113f4d6b5cf0c 100644 --- a/components/select/demo/search.md +++ b/components/select/demo/search.md @@ -5,8 +5,6 @@ title: 带搜索框 在浮层内顶部有搜索框的单项选择器。 - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/size.md b/components/select/demo/size.md index 2d5fab724b869288f7d63bee9eb524b5d9825d01..bb6e7a6cb95ec8af23fc5f9a0b3122da517c6b88 100644 --- a/components/select/demo/size.md +++ b/components/select/demo/size.md @@ -5,8 +5,6 @@ title: 三种大小 三种大小的选择框,当 size 分别为 `large` 和 `small` 时,输入框高度为 `32px` 和 `22px` ,默认高度为 `28px` - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/demo/tags.md b/components/select/demo/tags.md index 744532f3fed23e6eb7a1a27251699feeac28b5e0..6ff4160aa9f1863470888bde21a23a76677936e1 100644 --- a/components/select/demo/tags.md +++ b/components/select/demo/tags.md @@ -5,9 +5,6 @@ title: 标签 tags select,随意输入的内容(scroll the menu) - - - ````jsx import { Select } from 'antd'; const Option = Select.Option; diff --git a/components/select/index.md b/components/select/index.md index 63c4627b0017e4353f1c14418d055f8880443143..93181b01af9e0392ddc2ea6b5002722dc03dd98e 100644 --- a/components/select/index.md +++ b/components/select/index.md @@ -5,8 +5,6 @@ type: 表单 english: Select --- - - 类似 Select2 的选择器。 ## 何时使用 diff --git a/components/slider/demo/basic.md b/components/slider/demo/basic.md index 2346e8549baccb9724401a29e9fb9d949365d815..fd21fd0dddc5a281780be95201736329ac37a22d 100644 --- a/components/slider/demo/basic.md +++ b/components/slider/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 基本滑动条。当 `range` 为 `true` 时,渲染为双滑块。当 `disabled` 为 `true` 时,滑块处于不可用状态。 - - ````jsx import { Slider } from 'antd'; diff --git a/components/slider/demo/event.md b/components/slider/demo/event.md index 8882f518bdf90372fcfd5161f3398587b7d1da55..d317209398fbc6beb37825cd7b991caaa50d9726 100644 --- a/components/slider/demo/event.md +++ b/components/slider/demo/event.md @@ -5,8 +5,6 @@ title: 事件 当 Slider 的值发生改变时,会触发 `onChange` 事件,并把改变后的值作为参数传入。在 `onmouseup` 时,会触发 `onAfterChange` 事件,并把当前值作为参数传入。 - - ````jsx import { Slider } from 'antd'; diff --git a/components/slider/demo/icon-slider.md b/components/slider/demo/icon-slider.md index 01d98270f71494124708b3b9b429e9d7bb015f9a..765652ecf2956a9f9c4cf24aa2d048d82f3c3ec1 100644 --- a/components/slider/demo/icon-slider.md +++ b/components/slider/demo/icon-slider.md @@ -5,8 +5,6 @@ title: 带 icon 的滑块 滑块左右可以设置图标来表达业务含义。 - - ````jsx import { Slider, Icon } from 'antd'; diff --git a/components/slider/demo/input-number.md b/components/slider/demo/input-number.md index 18adb6bc20eba29bdec471bb052edccc580872d8..0e60e8eb7b0e78692403da344cf99f402729e729 100644 --- a/components/slider/demo/input-number.md +++ b/components/slider/demo/input-number.md @@ -5,8 +5,6 @@ title: 带输入框的滑块 和 数字输入框 组件保持同步。 - - ````jsx import { Slider, InputNumber } from 'antd'; diff --git a/components/slider/demo/mark.md b/components/slider/demo/mark.md index 4cbdc04fffce8b5ae47aa8cc9140cc2263adc70e..dd2ba7bdbc0a51c1fb6a1af49d5446fb47ea76bc 100644 --- a/components/slider/demo/mark.md +++ b/components/slider/demo/mark.md @@ -5,8 +5,6 @@ title: 分段式滑块 使用 `marks` 属性标注分段式滑块,使用 `value` / `defaultValue` 指定滑块位置。当 `included=false` 时,表明不同标记间为并列关系。当 `step=null` 时,Slider 的可选值仅有 `marks` 标出来的部分。 - - ````jsx import { Slider } from 'antd'; diff --git a/components/slider/demo/tip-formatter.md b/components/slider/demo/tip-formatter.md index adb60d7f18bb8e59633df3afaab929cd1fd32259..5fbda7d91bb3fcd2db41acaa788ba9d7ca686ed5 100644 --- a/components/slider/demo/tip-formatter.md +++ b/components/slider/demo/tip-formatter.md @@ -5,8 +5,6 @@ title: 格式化 `Tooltip` 内容 使用 `tipFormatter` 可以格式化 `Tooltip` 的内容,设置 `tipFormatter={null}`,则隐藏 `Tooltip`。 - - ````jsx import { Slider } from 'antd'; diff --git a/components/slider/index.md b/components/slider/index.md index f15141b080b8062226e8fc4d40dd1b663060c4dc..24946c72dfc66e2ae9c31c38e977d12d8444a612 100644 --- a/components/slider/index.md +++ b/components/slider/index.md @@ -5,8 +5,6 @@ type: 表单 english: Slider --- - - 滑动型输入器,展示当前值和可选范围。 ## 何时使用 diff --git a/components/spin/demo/basic.md b/components/spin/demo/basic.md index 1057e161eda0d6cce748572071ba6c6d3c96bbbd..3900061ff14cfcb05a547d5b7244f8083fdaa551 100644 --- a/components/spin/demo/basic.md +++ b/components/spin/demo/basic.md @@ -5,8 +5,6 @@ title: 基本用法 一个简单的 loading 状态。 - - ````jsx import { Spin } from 'antd'; diff --git a/components/spin/demo/inside.md b/components/spin/demo/inside.md index 8d52ab51121e1401b15ef2a4b59d65d5c6d37f71..6ffa27d622d8df89d25daaf294df651a6d422d99 100644 --- a/components/spin/demo/inside.md +++ b/components/spin/demo/inside.md @@ -5,8 +5,6 @@ title: 容器 放入一个容器中。 - - ````jsx import { Spin } from 'antd'; diff --git a/components/spin/demo/nested.md b/components/spin/demo/nested.md index 14688c1c91f1ce3f8baf974322b86304f8c21d1b..fbf97394427ee1c1db83e407f871cc60726af538 100644 --- a/components/spin/demo/nested.md +++ b/components/spin/demo/nested.md @@ -5,8 +5,6 @@ title: 卡片加载中 可以直接把内容内嵌到 `Spin` 中,将现有容器变为加载状态。 - - ````jsx import { Spin, Switch, Alert } from 'antd'; diff --git a/components/spin/demo/size.md b/components/spin/demo/size.md index 0e14556cf6c197d99967a4bbdd820027dfd3e7cb..8bf88b5d11449a9ac50dffa1342e3b13d7920ce1 100644 --- a/components/spin/demo/size.md +++ b/components/spin/demo/size.md @@ -5,8 +5,6 @@ title: 各种大小 小的用于文本加载,默认用于卡片容器级加载,大的用于**页面级**加载。 - - ````jsx import { Spin } from 'antd'; diff --git a/components/spin/demo/tip.md b/components/spin/demo/tip.md index ce415d8c0649dfdfba23162d5898f1dd6eb596dd..9843620ea2d1805bf263f5a7cce899c6c04fe656 100644 --- a/components/spin/demo/tip.md +++ b/components/spin/demo/tip.md @@ -5,8 +5,6 @@ title: 自定义描述文案 自定义描述文案,指定的 tip 文案会直接代替 `...`。 - - ````jsx import { Spin, Alert } from 'antd'; diff --git a/components/spin/index.md b/components/spin/index.md index 97fd6cca1f5ff123ea9747ff02830d96a8d6b966..a7ffa79c5a6f3021d8559d3e129ca990d80ca813 100644 --- a/components/spin/index.md +++ b/components/spin/index.md @@ -5,8 +5,6 @@ type: 其它 english: Spin --- - - 用于页面和区块的加载中状态。 ## 何时使用 diff --git a/components/steps/demo/icon.md b/components/steps/demo/icon.md index e5d631bd8d00721e0a99460d57e87c9a0603fe7b..daa833219e79f12d1802eddbe2885b3660c7f5b9 100644 --- a/components/steps/demo/icon.md +++ b/components/steps/demo/icon.md @@ -5,8 +5,6 @@ title: 带图标的步骤条 通过设置 `Steps.Step` 的 `icon` 属性,可以启用自定义图标。 - - ````jsx import { Steps } from 'antd'; const Step = Steps.Step; diff --git a/components/steps/demo/simple.md b/components/steps/demo/simple.md index 735ff07e746bf4fa45d436215010e86c2d68f3b8..6cca51353a80ed388f65119e06d81720b26e2760 100644 --- a/components/steps/demo/simple.md +++ b/components/steps/demo/simple.md @@ -5,8 +5,6 @@ title: 基本用法 简单的步骤条。 - - ````jsx import { Steps } from 'antd'; const Step = Steps.Step; diff --git a/components/steps/demo/small-size.md b/components/steps/demo/small-size.md index 88064a06ac9ead7b58841eed7754b92410f2f1d7..a1c175fbc8fef38ad7cd1bb3a9a69253fe5692d8 100644 --- a/components/steps/demo/small-size.md +++ b/components/steps/demo/small-size.md @@ -5,8 +5,6 @@ title: 迷你版 迷你版的步骤条,通过设置 `` 启用. - - ````jsx import { Steps } from 'antd'; const Step = Steps.Step; diff --git a/components/steps/demo/step-next.md b/components/steps/demo/step-next.md index edf54dc154ff1b39c4caf4c4e3d303726c2d4fbc..8c431ee86cabe058557cc22f1fd080d047d7f36f 100644 --- a/components/steps/demo/step-next.md +++ b/components/steps/demo/step-next.md @@ -5,8 +5,6 @@ title: 切换到下一步 随机生成 3~6 个步骤,初始随机进行到其中一个步骤。 - - ````css #components-steps-demo-step-next > div > div { margin-bottom: 30px; diff --git a/components/steps/demo/vertical-small.md b/components/steps/demo/vertical-small.md index 561edf141ee213cb678460428cc2254cf30ec4a6..54481b831fa2aee3c905fe0d43dc69a2cbffd8a1 100644 --- a/components/steps/demo/vertical-small.md +++ b/components/steps/demo/vertical-small.md @@ -5,8 +5,6 @@ title: 竖直方向的小型步骤条 简单的竖直方向的小型步骤条。 - - ````jsx import { Steps } from 'antd'; const Step = Steps.Step; diff --git a/components/steps/demo/vertical.md b/components/steps/demo/vertical.md index eda067a946faed4a793c6fabddc23fdfb110089f..d9514d1100bb2b22730ff71cfd4e061efa77e756 100644 --- a/components/steps/demo/vertical.md +++ b/components/steps/demo/vertical.md @@ -5,8 +5,6 @@ title: 竖直方向的步骤条 简单的竖直方向的步骤条。 - - ````jsx import { Steps } from 'antd'; const Step = Steps.Step; diff --git a/components/steps/index.md b/components/steps/index.md index 14d22007b8ed2ac81e0634c0936488edd6ce8f66..e7c8eeed24f6c528a55a53a7aa2bccc48bd462bc 100644 --- a/components/steps/index.md +++ b/components/steps/index.md @@ -6,8 +6,6 @@ cols: 1 english: Steps --- - - 引导用户按照流程完成任务的导航条。 ## 何时使用 diff --git a/components/switch/demo/basic.md b/components/switch/demo/basic.md index b660e9c191ff117e84eacd1f727bac2813451df2..8987c3b2df461365e0893b7b2010548f3319d0ea 100644 --- a/components/switch/demo/basic.md +++ b/components/switch/demo/basic.md @@ -5,8 +5,6 @@ title: 简单 最简单的用法。 - - ````jsx import { Switch } from 'antd'; diff --git a/components/switch/demo/disabled.md b/components/switch/demo/disabled.md index 61cc1f8fd67b0d659f5f0190ac70657a9f62d508..a13391f12076c341c831c5c5260e226ed8de06eb 100644 --- a/components/switch/demo/disabled.md +++ b/components/switch/demo/disabled.md @@ -5,8 +5,6 @@ title: 不可用 Switch 失效状态。 - - ````jsx import { Switch, Button } from 'antd'; diff --git a/components/switch/demo/size.md b/components/switch/demo/size.md index 468f1242e5a290caec7508f2e96ccfe8e155fbdd..a2d04f8baf5d3a8f1b6c6a953ea51d37ca5cd48f 100644 --- a/components/switch/demo/size.md +++ b/components/switch/demo/size.md @@ -5,8 +5,6 @@ title: 两种大小 `size="small"` 表示小号开关。 - - ````jsx import { Switch } from 'antd'; diff --git a/components/switch/demo/text.md b/components/switch/demo/text.md index 737a4ea1f53ac921b51a69167f8000161cab6a06..81532af44a0d60abf9cb1bebb4e64acf7dfb7888 100644 --- a/components/switch/demo/text.md +++ b/components/switch/demo/text.md @@ -5,8 +5,6 @@ title: 文字和图标 带有文字和图标。 - - ````jsx import { Switch, Icon } from 'antd'; diff --git a/components/switch/index.md b/components/switch/index.md index 8aa63baf247ac39d48253847c9467e20edcd6115..fc2790e9c9066154132e2a346c22d4534f1f458e 100644 --- a/components/switch/index.md +++ b/components/switch/index.md @@ -5,8 +5,6 @@ type: 表单 english: Switch --- - - 开关选择器。 ## 何时使用 diff --git a/components/table/demo/ajax.md b/components/table/demo/ajax.md index 1944bbefa0c12ae4c48a6cce22735d04d4c23842..7609ae377bb4bff8d6408d8915d860cf783f32fa 100644 --- a/components/table/demo/ajax.md +++ b/components/table/demo/ajax.md @@ -11,8 +11,6 @@ title: 远程加载数据 **注意,此示例是静态数据模拟,展示数据不会变化,请打开网络面板查看请求。** - - ````jsx import { Table } from 'antd'; import reqwest from 'reqwest'; diff --git a/components/table/demo/basic.md b/components/table/demo/basic.md index 076dcd8ff86aa2359be0dc1f190652203f7df455..fea729e91bddd90be2b4dfb62eb851fab2f7e43e 100644 --- a/components/table/demo/basic.md +++ b/components/table/demo/basic.md @@ -5,8 +5,6 @@ title: 基本用法 简单的表格,最后一列是各种操作。 - - ````jsx import { Table, Icon } from 'antd'; diff --git a/components/table/demo/bordered.md b/components/table/demo/bordered.md index 23b41c7c2c6e308b6c82950585d8eea4de3a4af6..8119bc35e254f1eb41d4d516a993f56458a3d7d5 100644 --- a/components/table/demo/bordered.md +++ b/components/table/demo/bordered.md @@ -5,8 +5,6 @@ title: 边框 添加表格边框线,`bordered`。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/colspan-rowspan.md b/components/table/demo/colspan-rowspan.md index 008fcf3ef834f82b8667a715d3afce0ba39fdac6..5daeec10ef12e28f8a5b0660d5f80696b972a882 100644 --- a/components/table/demo/colspan-rowspan.md +++ b/components/table/demo/colspan-rowspan.md @@ -7,8 +7,6 @@ title: 表格行/列合并 表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/expand-children.md b/components/table/demo/expand-children.md index b9597ebcd241b95103b20f19987d6f5469a1aaac..aa82839bd26d814e7d9c8d53ccd6e15a3a05a856 100644 --- a/components/table/demo/expand-children.md +++ b/components/table/demo/expand-children.md @@ -5,12 +5,8 @@ title: 树形数据展示 表格支持树形数据的展示,可以通过设置 `indentSize` 以控制每一层的缩进宽度。 - - > 注:暂不支持父子数据递归关联选择。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/expand.md b/components/table/demo/expand.md index 976666a841df2cb21f604ef2ce8566ddb27e548e..887d94f8961f7bc74e05627205e32541fd236055 100644 --- a/components/table/demo/expand.md +++ b/components/table/demo/expand.md @@ -5,8 +5,6 @@ title: 可展开 当表格内容较多不能一次性完全展示时。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/fixed-columns-header.md b/components/table/demo/fixed-columns-header.md index 9ce2b1a13849c20e689425072ceef3787647ee74..d0dcc2276c947b3f972ba021364923d80e6c9f52 100644 --- a/components/table/demo/fixed-columns-header.md +++ b/components/table/demo/fixed-columns-header.md @@ -7,8 +7,6 @@ title: 固定头和列 > 需要指定 scroll.x 为宽度,或者指定每列宽度 `width`,否则可能有错位问题。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/fixed-columns.md b/components/table/demo/fixed-columns.md index 8a137316ef62161f31fcef9af815acb23076a0cf..9f22a87158bbc4e36f499e9e8f7e3724a25f0bce 100644 --- a/components/table/demo/fixed-columns.md +++ b/components/table/demo/fixed-columns.md @@ -7,8 +7,6 @@ title: 固定列 > 需要指定 scroll.x 为宽度,或者指定每列宽度 `width`,否则可能有错位问题。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/fixed-header.md b/components/table/demo/fixed-header.md index b97bcca0bbac0c7123c4ba2b2e4a1e61509d724d..21b8214dcab77465d49ceacaa63d8ef28f61242b 100644 --- a/components/table/demo/fixed-header.md +++ b/components/table/demo/fixed-header.md @@ -7,8 +7,6 @@ title: 固定表头 需要指定 column 的 `width` 属性,否则列头和内容可能不对齐。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/head.md b/components/table/demo/head.md index 2b21dc9a9abbe9d072ed60a1f284ab9d0fc86b57..05bde0f6c2dcb6d82e3df760915d23f086c7d430 100644 --- a/components/table/demo/head.md +++ b/components/table/demo/head.md @@ -7,8 +7,6 @@ title: 筛选和排序 对某一列数据进行排序,通过指定列的 `sorter` 函数即可启动排序按钮。`sorter: function(a, b) { ... }`, a、b 为比较的两个列数据。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/loading.md b/components/table/demo/loading.md index 0dc255901004a9ac4e3f6f4998343297dd012602..7a94c1d05aa66aa5de9315c66bbac1daf6705e9a 100644 --- a/components/table/demo/loading.md +++ b/components/table/demo/loading.md @@ -5,8 +5,6 @@ title: 加载中的表格 用属性 `loading` 控制表格加载中状态。 - - ````jsx import { Table, Button } from 'antd'; diff --git a/components/table/demo/nopagination.md b/components/table/demo/nopagination.md index 4b1ca33a77f19593cb7218f87eb0af22602825e8..053e79733f0dcb33cc3cb794c4d4fe29b8534cde 100644 --- a/components/table/demo/nopagination.md +++ b/components/table/demo/nopagination.md @@ -5,8 +5,6 @@ title: 不显示分页 传入 pagination 为 false 即可。此时表格将完整显示 dataSource 内的数据,不进行任何分页。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/paging.md b/components/table/demo/paging.md index 009b9eb30b35523a08139e9394cda0d1695497cb..c3327d0b590a3846a59d18e2de477847943ccc4d 100644 --- a/components/table/demo/paging.md +++ b/components/table/demo/paging.md @@ -5,8 +5,6 @@ title: 分页 数据项较多时显示分页。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/reset-filter.md b/components/table/demo/reset-filter.md index b493101a2f339fd0173bb63fabd0c77606aeb52b..f3498d5823d29663d09e0173122cd29d04daee12 100644 --- a/components/table/demo/reset-filter.md +++ b/components/table/demo/reset-filter.md @@ -11,8 +11,6 @@ title: 重置筛选和排序 > 3. 务必指定 `column.key`。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/row-selection-and-operation.md b/components/table/demo/row-selection-and-operation.md index 140eb19320b6de65ab00764610f7017f7c905507..23b66c1d9b06f394217b3db2ea48e3c472957677 100644 --- a/components/table/demo/row-selection-and-operation.md +++ b/components/table/demo/row-selection-and-operation.md @@ -5,8 +5,6 @@ title: 选择和操作 选择后进行操作,完成后清空选择,通过 `rowSelection.selectedRowKeys` 来控制选中项。 - - ````jsx import { Table, Button } from 'antd'; diff --git a/components/table/demo/row-selection-props.md b/components/table/demo/row-selection-props.md index 733735b825a0889dfbd8272d5cfaede6cd70ed54..a839fcdd39d6654844681b020fbcb0ad00db59eb 100644 --- a/components/table/demo/row-selection-props.md +++ b/components/table/demo/row-selection-props.md @@ -5,8 +5,6 @@ title: 选择框属性 配置选择框的默认属性。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/row-selection.md b/components/table/demo/row-selection.md index 1367df4e4ca3e4d5e59571a9c44edab2e4fc85d5..99671c3705d2f71510afb71ac97ac8c20ba86d51 100644 --- a/components/table/demo/row-selection.md +++ b/components/table/demo/row-selection.md @@ -5,8 +5,6 @@ title: 可选择 第一列是联动的选择框。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/demo/size.md b/components/table/demo/size.md index 068bdcacff1c09c47dbeea8c337e6fe8d40054ca..30f268f6d8ee659d44c334e70db5c09c8c3e44fe 100644 --- a/components/table/demo/size.md +++ b/components/table/demo/size.md @@ -5,8 +5,6 @@ title: 紧凑型 紧凑型的列表, 中型列表用于需要数据紧凑展示的情况,小型列表只用于对话框内。 - - ````jsx import { Table } from 'antd'; diff --git a/components/table/index.md b/components/table/index.md index 7c96d6024b504981d7dd08c894ddceac3e5e2ad3..6c5fa6c51049767d2b3460a19903c7c8d6bbfce7 100644 --- a/components/table/index.md +++ b/components/table/index.md @@ -6,8 +6,6 @@ type: 展示 english: Table --- - - 展示行列数据。 ## 何时使用 diff --git a/components/tabs/demo/basic.md b/components/tabs/demo/basic.md index e7911373cefd25fac1aa1f12e36f74b0be4bc596..b2bb1e1e48baa17ada5d1d6905d41909cf00ceda 100644 --- a/components/tabs/demo/basic.md +++ b/components/tabs/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 默认选中第一项。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/card-top.md b/components/tabs/demo/card-top.md index 894072828703bf78269b5b6147f022536cf2c8ea..88bc444014923e73e8208460185b18a7edf67133 100644 --- a/components/tabs/demo/card-top.md +++ b/components/tabs/demo/card-top.md @@ -5,8 +5,6 @@ title: 卡片式页签容器 用于容器顶部,需要一点额外的样式覆盖。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/card.md b/components/tabs/demo/card.md index d0a6a0920645e36fc75eb2d0f23f0549898d60b2..b10af1439aec0593c074e4cedc8833391b8b13c7 100644 --- a/components/tabs/demo/card.md +++ b/components/tabs/demo/card.md @@ -5,8 +5,6 @@ title: 卡片式页签 另一种样式的页签,不提供对应的垂直样式。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/disabled.md b/components/tabs/demo/disabled.md index bfab1b8f999fd89f9c938cf12e30aa15d5ca6b17..b230460246a0b6ed299f528fb877d7ae4fa83760 100644 --- a/components/tabs/demo/disabled.md +++ b/components/tabs/demo/disabled.md @@ -5,8 +5,6 @@ title: 禁用 禁用某一项。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/editable-card.md b/components/tabs/demo/editable-card.md index 0a154274ac92c6330846d9176c52005a727668a7..4dff03f33b3469721e7f303f9bbb1eddcb27779a 100644 --- a/components/tabs/demo/editable-card.md +++ b/components/tabs/demo/editable-card.md @@ -5,8 +5,6 @@ title: 新增和关闭页签 只有卡片样式的页签支持新增和关闭选项。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/extra.md b/components/tabs/demo/extra.md index c8df9e0b708e4d963c51a90f74b05ae8aa6530a4..c29feb38acba77c7c9bda2a7b6f11771c60ba4ea 100644 --- a/components/tabs/demo/extra.md +++ b/components/tabs/demo/extra.md @@ -5,8 +5,6 @@ title: 附加内容 可以在页签右边添加附加操作。 - - ````jsx import { Tabs, Button } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/icon.md b/components/tabs/demo/icon.md index dfb2126b98e8cba744764db767b5427302056767..30d8f095c246afd9eda7026c356971eb768245da 100644 --- a/components/tabs/demo/icon.md +++ b/components/tabs/demo/icon.md @@ -5,8 +5,6 @@ title: 图标 有图标的标签。 - - ````jsx import { Tabs, Icon } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/position.md b/components/tabs/demo/position.md index d5ff1a446732b50aa29fdaa8978f53758c9fa662..df911b256cfd4ac894c2e11a4abafe51a4612be5 100644 --- a/components/tabs/demo/position.md +++ b/components/tabs/demo/position.md @@ -5,8 +5,6 @@ title: 位置 有四个位置,`tabPosition="left|right|top|bottom"`。 - - ````jsx import { Tabs, Select } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/size.md b/components/tabs/demo/size.md index 3cf603925b4bc7865da4a1acd186bc4ff257a8d4..19e455e4fb6ffc3bd87e3344bf5804ea470d2d7c 100644 --- a/components/tabs/demo/size.md +++ b/components/tabs/demo/size.md @@ -5,8 +5,6 @@ title: 迷你型 用在弹出框等较狭窄的容器内。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/demo/slide.md b/components/tabs/demo/slide.md index 94e6e12000774b43190091349fb4014b71c6427d..1439e4d9accc43435a0a416e15c2b8f16afa0f57 100644 --- a/components/tabs/demo/slide.md +++ b/components/tabs/demo/slide.md @@ -5,8 +5,6 @@ title: 滑动 可以左右滑动,容纳更多标签。 - - ````jsx import { Tabs } from 'antd'; const TabPane = Tabs.TabPane; diff --git a/components/tabs/index.md b/components/tabs/index.md index 0f1de67e74c994a162628ef291e8dae834fc5495..3df13c3fbe1b676cd8403b11f3ae0279b8ea13ae 100644 --- a/components/tabs/index.md +++ b/components/tabs/index.md @@ -5,8 +5,6 @@ type: 导航 english: Tabs --- - - 选项卡切换组件。 ## 何时使用 diff --git a/components/tag/demo/basic.md b/components/tag/demo/basic.md index ffb41c9b7ab2045e5aad91e4b8f83fcdeab6439c..096d7b1554d531107110b2471c3699edc27f0ba1 100644 --- a/components/tag/demo/basic.md +++ b/components/tag/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 简单的标签展示,添加 closable 表示可关闭。 - - ````jsx import { Tag } from 'antd'; diff --git a/components/tag/demo/colorful.md b/components/tag/demo/colorful.md index 629ef6b70888f20b5fc61859ca99002e6e3a1fe2..cc4bbfd33daba90d7416d2859b9aaa6f6704df52 100644 --- a/components/tag/demo/colorful.md +++ b/components/tag/demo/colorful.md @@ -5,8 +5,6 @@ title: 各种类型 四种颜色的标签。 - - ````jsx import { Tag } from 'antd'; diff --git a/components/tag/demo/control.md b/components/tag/demo/control.md index 2dd7cbc792b24184ff34e4197ba970372385bfc0..6480344d67db5c66c20d1d079a04b919a6bfa659 100644 --- a/components/tag/demo/control.md +++ b/components/tag/demo/control.md @@ -7,8 +7,6 @@ title: 数据生成标签 > 使用 `afterClose` 而不是 `onClose`,删除时有动画效果。 - - ````jsx import { Tag, Button } from 'antd'; diff --git a/components/tag/index.md b/components/tag/index.md index 4464575266b81b475bfa07ed14bb92477e90f1d2..da1c13848a6de93ff67cf97e8658bb0e853bc0da 100644 --- a/components/tag/index.md +++ b/components/tag/index.md @@ -5,8 +5,6 @@ type: 展示 english: Tag --- - - 进行标记和分类的小标签。 ## 何时使用 diff --git a/components/time-picker/demo/basic.md b/components/time-picker/demo/basic.md index 24b037468ee867ae5e901c254954721dd12891e3..2b716c0ea74ac9523cdb86b623639531b17b0aef 100644 --- a/components/time-picker/demo/basic.md +++ b/components/time-picker/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/disable-options.md b/components/time-picker/demo/disable-options.md index 5a12f786a263ce3280172f04b32ab6d31ebd0a0f..64b81715912e19cefff496d3d5dc8a0db12757ef 100644 --- a/components/time-picker/demo/disable-options.md +++ b/components/time-picker/demo/disable-options.md @@ -5,8 +5,6 @@ title: 禁止选项 限制选择 `20:30` 到 `23:30` 这个时间段。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/disabled.md b/components/time-picker/demo/disabled.md index 324c8fc6fc3261814f1b3ba685ee8021adb7d95c..6cff271ac637fbbd73184fefcccd57ed281719d2 100644 --- a/components/time-picker/demo/disabled.md +++ b/components/time-picker/demo/disabled.md @@ -5,8 +5,6 @@ title: 禁用 禁用时间选择。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/hide-options.md b/components/time-picker/demo/hide-options.md index 20d3b9b41ed2ed7d5de6f2147a777f8c1959dbfc..424e434015618f779e63befde5ecc89403ebe56d 100644 --- a/components/time-picker/demo/hide-options.md +++ b/components/time-picker/demo/hide-options.md @@ -5,8 +5,6 @@ title: 只显示部分选项 通过 `hideDisabledOptions` 将不可选的选项隐藏。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/size.md b/components/time-picker/demo/size.md index daacec17322c55fca10034891e343eb58c3c7b59..e7e7242944f5661486d0fb26175830bdf4d224ae 100644 --- a/components/time-picker/demo/size.md +++ b/components/time-picker/demo/size.md @@ -5,8 +5,6 @@ title: 三种大小 三种大小的输入框,大的用在表单中,中的为默认。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/value.md b/components/time-picker/demo/value.md index 8abf9c96492ab1f68d57cfbe764efcf7801b8727..0189dc2a8e6a33f5a778364e89b1b638228820ce 100644 --- a/components/time-picker/demo/value.md +++ b/components/time-picker/demo/value.md @@ -5,8 +5,6 @@ title: 受控组件 value 和 onChange 需要配合使用。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/demo/without-seconds.md b/components/time-picker/demo/without-seconds.md index 3f282f2e718217372de2534cc5efcfcad878df39..c4f594e7a3dd18fd673f0075622d250d2872cd4e 100644 --- a/components/time-picker/demo/without-seconds.md +++ b/components/time-picker/demo/without-seconds.md @@ -5,8 +5,6 @@ title: 不展示秒 不展示秒,也不允许选择。 - - ````jsx import { TimePicker } from 'antd'; diff --git a/components/time-picker/index.md b/components/time-picker/index.md index 64681c3f8ce1f993d7ba465266a3623242ecf140..fd5bee52b321d85618bd9c02f88a2d8b48b0cc04 100644 --- a/components/time-picker/index.md +++ b/components/time-picker/index.md @@ -5,8 +5,6 @@ type: 表单 english: TimePicker --- - - 输入或选择时间的控件。 何时使用 diff --git a/components/timeline/demo/basic.md b/components/timeline/demo/basic.md index fdf75ec71e953d909bab65cb2a40a1d63e35ad1a..e8c94a9b548830c5fb11dd54636a5dc86bd3feb9 100644 --- a/components/timeline/demo/basic.md +++ b/components/timeline/demo/basic.md @@ -5,8 +5,6 @@ title: 基本用法 基本的时间轴。 - - ````jsx import { Timeline } from 'antd'; diff --git a/components/timeline/demo/color.md b/components/timeline/demo/color.md index e8a13c12ee88596c911cdb3f1a0c5ee8f837a328..a8b09e7244ca1ff10953631c9892bb76bd1b88a4 100644 --- a/components/timeline/demo/color.md +++ b/components/timeline/demo/color.md @@ -5,8 +5,6 @@ title: 圆圈颜色 圆圈颜色,绿色用于已完成、成功状态,红色表示告警或错误状态,蓝色可表示正在进行或其他默认状态。 - - ````jsx import { Timeline } from 'antd'; diff --git a/components/timeline/demo/pending.md b/components/timeline/demo/pending.md index a45be772ad7eae76e6c2d78582d153c741f2041a..368ce9402649958690f78d560ae3bbde9f0f9adf 100644 --- a/components/timeline/demo/pending.md +++ b/components/timeline/demo/pending.md @@ -5,8 +5,6 @@ title: 最后一个 在最后位置添加一个幽灵节点,表示时间轴未完成,还在记录过程中。可以指定 `pending={true}` 或者 `pending={一个 React 元素}`。 - - ````jsx import { Timeline } from 'antd'; diff --git a/components/timeline/index.md b/components/timeline/index.md index 23b3121975146d5033690f18394f907392234a52..f86b465510e76b1cf6bca45c7ee5f12acc21473c 100644 --- a/components/timeline/index.md +++ b/components/timeline/index.md @@ -5,8 +5,6 @@ type: 展示 english: Timeline --- - - 垂直展示的时间流信息。 ## 何时使用 diff --git a/components/tooltip/demo/basic.md b/components/tooltip/demo/basic.md index cf9263f56abc3047c5e0958c38ea22ecff92fed8..1eb47e60a21e618a656ca354968f2d0b728539a0 100644 --- a/components/tooltip/demo/basic.md +++ b/components/tooltip/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { Tooltip } from 'antd'; diff --git a/components/tooltip/demo/placement.md b/components/tooltip/demo/placement.md index 068636787c90bc51cc8f2384999c3e2cc822b13a..1e58a73ce3b3914fc7fdcf093572bf860a2a7c6a 100644 --- a/components/tooltip/demo/placement.md +++ b/components/tooltip/demo/placement.md @@ -5,8 +5,6 @@ title: 位置 位置有 12 个方向。 - - ````jsx import { Tooltip } from 'antd'; const text = 提示文字; diff --git a/components/tooltip/index.md b/components/tooltip/index.md index 4de0215e4f04d662d76833c6a88bd86428260915..64f23567aa6e478eabc203815e1724d2c1f4dbfc 100644 --- a/components/tooltip/index.md +++ b/components/tooltip/index.md @@ -5,8 +5,6 @@ type: 展示 english: Tooltip --- - - 简单的文字提示气泡框。 ## 何时使用 diff --git a/components/transfer/demo/advanced.md b/components/transfer/demo/advanced.md index 22111bcaa14d0869d41e93b89412cda741a690ad..3f2fc129e0cdbea15891dc5cf32396d11801b7da 100644 --- a/components/transfer/demo/advanced.md +++ b/components/transfer/demo/advanced.md @@ -5,8 +5,6 @@ title: 高级用法 穿梭框高级用法,可配置操作文案,可定制宽高,可对底部进行自定义渲染。 - - ````jsx import { Transfer, Button } from 'antd'; diff --git a/components/transfer/demo/basic.md b/components/transfer/demo/basic.md index e51a99a6b10cfeff72a55660fad53a5b458e5ff3..49a5619a34e2922563c2cb8dea8a100cff9605b4 100644 --- a/components/transfer/demo/basic.md +++ b/components/transfer/demo/basic.md @@ -5,8 +5,6 @@ title: 基本用法 最基本的用法。 - - ````jsx import { Transfer, Button } from 'antd'; diff --git a/components/transfer/demo/search.md b/components/transfer/demo/search.md index 1bd810878d64b6908ceb1738b66025ea3f416c67..2e571a162ab9749a2feee4329bbef51246964591 100644 --- a/components/transfer/demo/search.md +++ b/components/transfer/demo/search.md @@ -5,8 +5,6 @@ title: 带搜索框 带搜索框的穿梭框。 - - ````jsx import { Transfer } from 'antd'; diff --git a/components/transfer/index.md b/components/transfer/index.md index 69a53ff74d6d9e0744ed109ee810a87bc357039a..7af96001c2c567c7ecd6e0de790fed774982e854 100644 --- a/components/transfer/index.md +++ b/components/transfer/index.md @@ -6,8 +6,6 @@ cols: 1 english: Transfer --- - - 双栏穿梭选择框。 ## 何时使用 diff --git a/components/tree-select/demo/basic.md b/components/tree-select/demo/basic.md index 37fe29c6787c5a29ce39424fda016cc28a964790..b78cc1d655280cb77f07ca37b8bdf0f258aacaf4 100644 --- a/components/tree-select/demo/basic.md +++ b/components/tree-select/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法。 - - ````jsx import { TreeSelect } from 'antd'; const TreeNode = TreeSelect.TreeNode; diff --git a/components/tree-select/demo/checkable.md b/components/tree-select/demo/checkable.md index 8cabbb93bff8de6d68b47c46d697a648c6baacca..541d0d95d6440729aec4ef3b3ba640299e817da4 100644 --- a/components/tree-select/demo/checkable.md +++ b/components/tree-select/demo/checkable.md @@ -5,8 +5,6 @@ title: 多选 多选和勾选框功能。 - - ````jsx import { TreeSelect } from 'antd'; const SHOW_PARENT = TreeSelect.SHOW_PARENT; diff --git a/components/tree-select/demo/treeData.md b/components/tree-select/demo/treeData.md index 835eb3df0b5a2e8430918d592a99c28be9417c99..94a54a085e272b0003c8723b88a5b7ed34965046 100644 --- a/components/tree-select/demo/treeData.md +++ b/components/tree-select/demo/treeData.md @@ -5,8 +5,6 @@ title: 从数据直接生成 使用 `treeData` 把 JSON 数据直接生成树结构。 - - ````jsx import { TreeSelect } from 'antd'; diff --git a/components/tree-select/index.md b/components/tree-select/index.md index b92db1baa615f2896e44d66f8489d41933761eba..7c886ac8d5105c49900e08aff0a9eac992de15f0 100644 --- a/components/tree-select/index.md +++ b/components/tree-select/index.md @@ -5,8 +5,6 @@ type: 表单 english: TreeSelect --- - - 树型选择控件。 ## 何时使用 diff --git a/components/tree/demo/basic-controlled.md b/components/tree/demo/basic-controlled.md index 654b6768c1e3270a42091c66bed5468bec014d62..d7af904a030a746aae1b55a740a3df147ab35727 100644 --- a/components/tree/demo/basic-controlled.md +++ b/components/tree/demo/basic-controlled.md @@ -5,8 +5,6 @@ title: 受控操作示例 受控操作示例 - - ````jsx import { Tree } from 'antd'; const TreeNode = Tree.TreeNode; diff --git a/components/tree/demo/basic.md b/components/tree/demo/basic.md index d47e2424273c83df73fe6cfba6e609343387adef..9257d39ff180e663b4bfc8181b665e93f372176a 100644 --- a/components/tree/demo/basic.md +++ b/components/tree/demo/basic.md @@ -5,8 +5,6 @@ title: 基本 最简单的用法,展示可勾选,可选中,禁用,默认展开等功能。 - - ````jsx import { Tree } from 'antd'; const TreeNode = Tree.TreeNode; diff --git a/components/tree/demo/draggable.md b/components/tree/demo/draggable.md index fa1d3ee5d4af65e2b452b4a91dae9e31c2ff1764..73c471125c696afea7a0986e4ca8340c7fc22fd4 100644 --- a/components/tree/demo/draggable.md +++ b/components/tree/demo/draggable.md @@ -5,8 +5,6 @@ title: 拖动示例 将节点拖拽到其他节点内部或前后。 - - ````jsx import { Tree } from 'antd'; const TreeNode = Tree.TreeNode; diff --git a/components/tree/demo/dynamic.md b/components/tree/demo/dynamic.md index 4b78077e63ab4a60430af62a97820208de3a7f1e..0fc1e3f3915ee963aa0d8bcfeb6e501319250550 100644 --- a/components/tree/demo/dynamic.md +++ b/components/tree/demo/dynamic.md @@ -5,8 +5,6 @@ title: 异步数据加载 点击展开节点,动态加载数据。 - - ````jsx import { Tree } from 'antd'; const TreeNode = Tree.TreeNode; diff --git a/components/tree/index.md b/components/tree/index.md index cc16a86d7505640de2de928b2728e929bffc364e..b98273ea889aa80f241180b0cf7571da3bfca8fb 100644 --- a/components/tree/index.md +++ b/components/tree/index.md @@ -5,8 +5,6 @@ type: 展示 english: Tree --- - - ## 何时使用 文件夹、组织架构、生物分类、国家地区等等,世间万物的大多数结构都是树形结构。使用`树控件`可以完整展现其中的层级关系,并具有展开收起选择等交互功能。 diff --git a/components/upload/demo/basic.md b/components/upload/demo/basic.md index 2c598f91256e7ad85f52ffdf020e9ec4f614b46d..3f21b73aea92ef0a67e3cd9bf6a2b09828b7efeb 100644 --- a/components/upload/demo/basic.md +++ b/components/upload/demo/basic.md @@ -5,8 +5,6 @@ title: 点击上传 经典款式,用户点击按钮弹出文件选择框。 - - ````jsx import { Upload, message, Button, Icon } from 'antd'; diff --git a/components/upload/demo/beforeUpload.md b/components/upload/demo/beforeUpload.md index 053836b98cd7e2a9d6c18ecd2634c8da1feb65bb..4fe1dc965bfa9ac5513f2887c55da4a1a3e0b776 100644 --- a/components/upload/demo/beforeUpload.md +++ b/components/upload/demo/beforeUpload.md @@ -5,8 +5,6 @@ title: 限制用户上传的文件 可以通过 `beforeUpload` 在文件上传之前进行干预,如限制用户只能上传 JPG 文件。 - - ````jsx import { Upload, Button, Icon, message } from 'antd'; diff --git a/components/upload/demo/defaultFileList.md b/components/upload/demo/defaultFileList.md index 73a93639e8cac403beae57a638c0b2c1657b99ac..0a46ab0b539f6a58202713c226f60dbdb1e114f6 100644 --- a/components/upload/demo/defaultFileList.md +++ b/components/upload/demo/defaultFileList.md @@ -5,8 +5,6 @@ title: 传入已上传的文件 对已上传的文件进行编辑。 - - ````jsx import { Upload, Button, Icon } from 'antd'; diff --git a/components/upload/demo/drag.md b/components/upload/demo/drag.md index 5ee414c603aaac24aedef27cd3825a73f25ea4fb..8876768e3d04f5ee5babe878fb6b212ae51055e9 100644 --- a/components/upload/demo/drag.md +++ b/components/upload/demo/drag.md @@ -5,8 +5,6 @@ title: 拖拽上传 可以把文件拖入指定区域,完成上传,同样支持点击上传。 - - ````jsx import { Upload, Icon } from 'antd'; const Dragger = Upload.Dragger; diff --git a/components/upload/demo/fileList.md b/components/upload/demo/fileList.md index 0ef3bea0d90f3d45d78ac13f95afda34fb5a90b5..53937652047e9dbb8e7b2afc636ac638804da429 100644 --- a/components/upload/demo/fileList.md +++ b/components/upload/demo/fileList.md @@ -11,8 +11,6 @@ title: 完全控制的上传列表 3) 按照服务器返回信息筛选成功上传的文件。 - - ````jsx import { Upload, Button, Icon } from 'antd'; diff --git a/components/upload/demo/multiple.md b/components/upload/demo/multiple.md index 76ac677c29430974c343248c529900ef47db787d..84a0ef1e41e67be7b15b8d40a6b3900d5525dc66 100644 --- a/components/upload/demo/multiple.md +++ b/components/upload/demo/multiple.md @@ -6,8 +6,6 @@ title: 多文件选择 按住 ctrl 可选择多个文件,`ie10+` 支持。 - - ````jsx import { Upload, message, Button, Icon } from 'antd'; diff --git a/components/upload/demo/picture-card.md b/components/upload/demo/picture-card.md index 9fb83f899660bc040a7dbda2a0c5bf1d12c85c4e..d2fa42f3131b0a2b0e0a90e0b48630fa94bb77dc 100644 --- a/components/upload/demo/picture-card.md +++ b/components/upload/demo/picture-card.md @@ -5,8 +5,6 @@ title: 图片卡片样式 上传文件为图片,可展示本地缩略图。 - - ````jsx import { Upload, Icon } from 'antd'; diff --git a/components/upload/demo/picture-style.md b/components/upload/demo/picture-style.md index 77833e26c6ed6ebd5908d8b887d81092d85ceb58..17342bf8da0798cc1d6ce5ca694ade73cc5fbac7 100644 --- a/components/upload/demo/picture-style.md +++ b/components/upload/demo/picture-style.md @@ -7,8 +7,6 @@ title: 图片列表样式 `IE8/9` 不支持浏览器本地缩略图展示(Ref),可以写 `thumbUrl` 属性来代替。 - - ````jsx import { Upload, Button, Icon } from 'antd'; diff --git a/components/upload/index.md b/components/upload/index.md index 53709686a101d39876776ea2e377609f464b1af0..d6ff2f8ed6a4af75d71c3e7475a52c8362d6e178 100644 --- a/components/upload/index.md +++ b/components/upload/index.md @@ -5,8 +5,6 @@ type: 表单 english: Upload --- - - 文件选择上传和拖拽上传控件。 ## 何时使用 diff --git a/docs/pattern/classic.md b/docs/pattern/classic.md index 799ffff92e94442faf913db9cfb7a9ec4d2cba05..15859615f7cb74b8833a6a2fa77c3091141d5024 100644 --- a/docs/pattern/classic.md +++ b/docs/pattern/classic.md @@ -5,6 +5,4 @@ chinese: 典型页面 english: Classic --- - - 敬请期待。 diff --git a/docs/practice/bussiness.md b/docs/practice/bussiness.md index 61ad9255236e4591a5a6f695a936cebf6c24462f..6f895ed0682e88cfc3aa7125d28ff3d45f154ad7 100644 --- a/docs/practice/bussiness.md +++ b/docs/practice/bussiness.md @@ -5,6 +5,4 @@ chinese: 业务组件 english: Business --- - - 占位。 diff --git a/docs/practice/cases.md b/docs/practice/cases.md index bfefc990f5f00c755068edce9bad98249b8b9545..c9e073cdffea2abbce33efd3f3e0301085c58a71 100644 --- a/docs/practice/cases.md +++ b/docs/practice/cases.md @@ -4,8 +4,6 @@ chinese: 实践案例 english: Cases --- - - Ant Design 是面向中台的 UI 设计语言。 从 2015 年 4 月起,Ant Design 在蚂蚁金服中后台产品线迅速推广,对接多条业务线,覆盖系统 40 个以上。定位于中台业务的 Ant Design 兼顾专业和非专业的设计人员,具有学习成本低、上手速度快、实现效果好等特点,并且提供从界面设计到前端开发的全链路生态,可以大大提升设计和开发的效率。 diff --git a/docs/react/install.md b/docs/react/install.md index 63c837587fff1161d3a35e89c834528607904f6b..e2b37b06e6e7c91749768e5f99a9c6c1995027e7 100644 --- a/docs/react/install.md +++ b/docs/react/install.md @@ -3,8 +3,6 @@ order: 2 english: 安装 --- - - ## 使用 npm 安装 **我们推荐使用 npm 的方式进行开发**,不仅可在开发环境轻松调试,也可放心地在生产环境打包部署使用,享受整个生态圈和工具链带来的诸多好处。 diff --git a/docs/react/upgrade-notes.md b/docs/react/upgrade-notes.md index 61b3dd0b80a4bf59f4fdf945edd52a60a7946cef..5c0fa456be0b910acbceb20d91d0b447b2ee7106 100644 --- a/docs/react/upgrade-notes.md +++ b/docs/react/upgrade-notes.md @@ -3,8 +3,6 @@ order: 3 english: 升级指南 --- - - 此处着重列出升级中的不兼容变化和推荐改动。所有变动请见 [Changelog](/changelog)。 ## 0.11 => 0.12 diff --git a/docs/resource/download.md b/docs/resource/download.md index 758863d14e052bef76efc7927a67747eac252331..7f7991f629a50e5caf2276bd4c188bc6d84d4a29 100644 --- a/docs/resource/download.md +++ b/docs/resource/download.md @@ -4,8 +4,6 @@ chinese: 资源下载 english: Download --- - - 这里提供 Ant Design 相关设计资源和设计工具的下载,更多设计资源正在整理和完善中。
diff --git a/docs/resource/github.md b/docs/resource/github.md index 00c8f7f165e8ff82faa112ff9ce95b70e229947d..72ccbf651e8f54259872cd16cf7b4271cae2464e 100644 --- a/docs/resource/github.md +++ b/docs/resource/github.md @@ -4,4 +4,3 @@ link: //github.com/ant-design/ant-design english: GitHub --- - diff --git a/docs/resource/reference.md b/docs/resource/reference.md index 424def0b57e4259e0d944b3ba2ca0a6280df5045..67cfe39dc1ce9e666f630dc7fb6262772a7122a1 100644 --- a/docs/resource/reference.md +++ b/docs/resource/reference.md @@ -4,8 +4,6 @@ chinese: 文献素材 english: Reference --- - - 在进行模式、组件和语言的整理中,《About Face 4》、《Web 界面设计》、《界面设计模式》、《写给大家看的设计书》、《设计心理学》、《Web 表单设计:点石成金的艺术》等书籍给了我们很多的启示,帮助我们节约了大量时间,并成功克服了很多困难。如果想了解更多设计相关的内容,建议你去阅读这些非常棒的书籍。
diff --git a/docs/spec/colors.md b/docs/spec/colors.md index 32c05a8ad397379890a8356af8f54872212380e8..9a9e0f84ab3af73c6e9f7a1919d33f7d0281b458 100644 --- a/docs/spec/colors.md +++ b/docs/spec/colors.md @@ -5,8 +5,6 @@ chinese: 色彩 english: Colors --- - - ## 有意义的色彩 色彩在界面设计中的使用应同时具备品牌识别性以及界面设计功能性。众所周知色彩是相当感性的东西,设计中对色彩的运用首要应考虑到品牌层面的表达,另外很重要的一点是色彩的运用应达到信息传递,动作指引,交互反馈,或是强化和凸现某一个元素的目的。任何颜色的选取和使用应该是有意义的。众所周知色彩是相当感性的东西,设计中对色彩的运用首要应考虑到品牌层面的表达,另外很重要的一点是色彩的运用应达到信息传递,动作指引,交互反馈,或是强化和凸现某一个元素的目的。任何颜色的选取和使用应该是有意义的。 diff --git a/docs/spec/layout/demo/aside.md b/docs/spec/layout/demo/aside.md index 07bcdd25bb1d2923a5be93b628a13b47fbcfa8a0..dc0af34a4c33e9f084f2e40d94febc344c6a837c 100644 --- a/docs/spec/layout/demo/aside.md +++ b/docs/spec/layout/demo/aside.md @@ -7,8 +7,6 @@ title: 侧边导航 侧边导航在页面布局上采用的是左右的结构,一般主导航放置于页面的左侧固定位置,辅助菜单放置于工作区顶部。内容根据浏览器终端进行自适应,能提高横向空间的使用率,但是整个页面排版不稳定。侧边导航的模式层级扩展性强,一、二、三级导航项目可以更为顺畅且具关联性的被展示,同时侧边导航可以固定,使得用户在操作和浏览中可以快速的定位和切换当前位置,有很高的操作效率。但这类导航横向页面内容的空间会被牺牲一部份。 - - ````jsx import { Menu, Breadcrumb, Icon } from 'antd'; import BrowserDemo from 'BrowserDemo'; diff --git a/docs/spec/layout/demo/ceiling.md b/docs/spec/layout/demo/ceiling.md index 984ef71d0f6b21acf45f11bfd0675abb09b69a68..01685785e7d7760936f655bf67f6e39aaceddd6b 100644 --- a/docs/spec/layout/demo/ceiling.md +++ b/docs/spec/layout/demo/ceiling.md @@ -7,8 +7,6 @@ title: 吊顶规范 吊顶背景深色,高度 `30px`,和浅色调的主导航配合使用。 - - ````jsx import { Menu, Breadcrumb } from 'antd'; import BrowserDemo from 'BrowserDemo'; diff --git a/docs/spec/layout/demo/top-aside.md b/docs/spec/layout/demo/top-aside.md index ac68ad058c205b9d876034242eabe5d0205ed139..e72c77c81b42acc34c562bf43eff985c2e368989 100644 --- a/docs/spec/layout/demo/top-aside.md +++ b/docs/spec/layout/demo/top-aside.md @@ -5,8 +5,6 @@ title: 顶部导航 + 侧边栏 顶级导航在头部,次级导航在侧边栏。 - - ````jsx import { Menu, Breadcrumb, Icon } from 'antd'; import BrowserDemo from 'BrowserDemo'; diff --git a/docs/spec/layout/demo/top.md b/docs/spec/layout/demo/top.md index d7e2c827534ca4955ae3beed6674fb00351ac4d4..75ffa919669b1186550c26d6b8e0fdeae637128c 100644 --- a/docs/spec/layout/demo/top.md +++ b/docs/spec/layout/demo/top.md @@ -9,8 +9,6 @@ title: 顶部导航 > `` 做演示用,无须复制。 - - ````jsx import { Menu, Breadcrumb } from 'antd'; import BrowserDemo from 'BrowserDemo'; diff --git a/docs/spec/layout/index.md b/docs/spec/layout/index.md index b393095aa228a4d78f59f51f3adba6bdabde0df8..0681ab089885dde9e2d2c71c6f257b43923594bf 100644 --- a/docs/spec/layout/index.md +++ b/docs/spec/layout/index.md @@ -7,8 +7,6 @@ chinese: 常用布局 english: Layout --- - - 布局和导航是产品的骨架,是页面的重要构成模式之一,是作为后续展开页面设计的基础,可以为产品奠定交互和视觉风格。 Ant Design 的布局和导航设计规范如下: diff --git a/docs/spec/motion.md b/docs/spec/motion.md index d6810e801e764d55132c6120f55de2abce1121a0..84abb476063966c5bf0aa0dd3e45092c5bf08f38 100644 --- a/docs/spec/motion.md +++ b/docs/spec/motion.md @@ -5,8 +5,6 @@ chinese: 组件动画 english: Motion --- - - 依据『巧用过渡』的设计原则,Ant Design 提供了一些预设的组件动画和缓动函数。 > 示例延长了动画时长以便展示。