chore: update size props order, ref: d12f247

This commit is contained in:
Benjy Cui 2017-10-30 10:52:05 +08:00
parent d12f247e63
commit 70291d5514
3 changed files with 3 additions and 3 deletions

View File

@ -34,11 +34,11 @@ A list can be used to display content related to a single subject. The content c
| column | column of grid | number | - |
| gutter | spacing between grid | number | 0 |
| xs | `<576px` column of grid | number | - |
| xxl | `≥1600px` column of grid | number | - |
| sm | `≥576px` column of grid | number | - |
| md | `≥768px` column of grid | number | - |
| lg | `≥992px` column of grid | number | - |
| xl | `≥1200px` column of grid | number | - |
| xxl | `≥1600px` column of grid | number | - |
### List.Item

View File

@ -35,11 +35,11 @@ cols: 1
| column | 列数 | number | - |
| gutter | 栅格间隔 | number | 0 |
| xs | `<576px` 展示的列数 | number | - |
| xxl | `≥1600px` 展示的列数 | number | - |
| sm | `≥576px` 展示的列数 | number | - |
| md | `≥768px` 展示的列数 | number | - |
| lg | `≥992px` 展示的列数 | number | - |
| xl | `≥1200px` 展示的列数 | number | - |
| xxl | `≥1600px` 展示的列数 | number | - |
### List.Item

View File

@ -25,7 +25,7 @@ function getCellValue(node) {
}
// from small to large
const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl'];
const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
const groups = {
isDynamic: val => /^on[A-Z]/.test(val),