Browse Source

Merge branch 'master' into master-2

pull/26026/head
afc163 4 years ago
parent
commit
2f95bf6cf0
  1. 2
      components/affix/demo/debug.md
  2. 2
      components/affix/index.en-US.md
  3. 2
      components/affix/index.zh-CN.md
  4. 2
      components/breadcrumb/demo/basic.md
  5. 2
      components/breadcrumb/demo/separator-indepent.md
  6. 2
      components/breadcrumb/demo/separator.md
  7. 4
      components/breadcrumb/index.en-US.md
  8. 4
      components/breadcrumb/index.zh-CN.md

2
components/affix/demo/debug.md

@ -2,7 +2,7 @@
order: 99
title:
zh-CN: 调整浏览器大小,观察 Affix 容器是否发生变化。跟随变化为正常。#17678
en-US:
en-US: debug
debug: true
---

2
components/affix/index.en-US.md

@ -19,8 +19,8 @@ Please note that Affix should not cover other content on the page, especially wh
| --- | --- | --- | --- |
| offsetBottom | Offset from the bottom of the viewport (in pixels) | number | - |
| offsetTop | Offset from the top of the viewport (in pixels) | number | 0 |
| onChange | Callback for when Affix state is changed | function(affixed) | - |
| target | Specifies the scrollable area DOM node | () => HTMLElement | () => window |
| onChange | Callback for when Affix state is changed | Function(affixed) | - |
**Note:** Children of `Affix` must not have the property `position: absolute`, but you can set `position: absolute` on `Affix` itself:

2
components/affix/index.zh-CN.md

@ -20,8 +20,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/tX6-md4H6/Affix.svg
| --- | --- | --- | --- |
| offsetBottom | 距离窗口底部达到指定偏移量后触发 | number | - |
| offsetTop | 距离窗口顶部达到指定偏移量后触发 | number | - |
| onChange | 固定状态改变时触发的回调函数 | function(affixed) | - |
| target | 设置 `Affix` 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数 | () => HTMLElement | () => window |
| onChange | 固定状态改变时触发的回调函数 | Function(affixed) | - |
**注意:**`Affix` 内的元素不要使用绝对定位,如需要绝对定位的效果,可以直接设置 `Affix` 为绝对定位:

2
components/breadcrumb/demo/basic.md

@ -11,7 +11,7 @@ title:
## en-US
The simplest use
The simplest use.
```jsx
import { Breadcrumb } from 'antd';

2
components/breadcrumb/demo/separator-indepent.md

@ -11,7 +11,7 @@ title:
## en-US
The separator can be customized by setting the separator property: `Breadcrumb.Separator`
The separator can be customized by setting the separator property: `Breadcrumb.Separator`.
```jsx
import { Breadcrumb } from 'antd';

2
components/breadcrumb/demo/separator.md

@ -11,7 +11,7 @@ title:
## en-US
The separator can be customized by setting the separator property: separator=">"
The separator can be customized by setting the separator property: separator=">".
```jsx
import { Breadcrumb } from 'antd';

4
components/breadcrumb/index.en-US.md

@ -28,10 +28,10 @@ A breadcrumb displays the current location within a hierarchy. It allows going b
| Property | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| dropdownProps | The dropdown props | [Dropdown](/components/dropdown) | - | |
| href | Target of hyperlink | string | - | |
| overlay | The dropdown menu | [Menu](/components/menu) \| () => Menu | - | |
| onClick | Set the handler to handle `click` event | (e:MouseEvent)=>void | - | |
| dropdownProps | The dropdown props | [Dropdown](/components/dropdown) | - | |
| onClick | Set the handler to handle `click` event | (e:MouseEvent) => void | - | |
### Breadcrumb.Separator

4
components/breadcrumb/index.zh-CN.md

@ -29,10 +29,10 @@ cover: https://gw.alipayobjects.com/zos/alicdn/9Ltop8JwH/Breadcrumb.svg
| 参数 | 说明 | 类型 | 默认值 | 版本 |
| --- | --- | --- | --- | --- |
| dropdownProps | 弹出下拉菜单的自定义配置 | [Dropdown](/components/dropdown) | - | |
| href | 链接的目的地 | string | - | |
| overlay | 下拉菜单的内容 | [Menu](/components/menu) \| () => Menu | - | |
| onClick | 单击事件 | (e:MouseEvent)=>void | - | |
| dropdownProps | 弹出下拉菜单的自定义配置 | [Dropdown](/components/dropdown) | - | |
| onClick | 单击事件 | (e:MouseEvent) => void | - | |
### Breadcrumb.Separator

Loading…
Cancel
Save