update landing page for 2.0

This commit is contained in:
Leopoldthecoder
2017-10-23 17:50:25 +08:00
committed by 杨奕
parent 88636b948f
commit 9e6f1adafc
39 changed files with 325 additions and 866 deletions

View File

@@ -39,7 +39,7 @@
#### Breaking changes
- Switch
- Attributes starting with `on-*` will be parsed to events in JSX, making all `on-*` attributes of Switch not
able to work in JSX. So `on-*` attributes are renamed to `active-*`, and accordingly `off-*` attributes are renamed to `inactive-*`. This changes affects the following attributes: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value`
able to work in JSX. So `on-*` attributes are renamed to `active-*`, and accordingly `off-*` attributes are renamed to `inactive-*`. This change affects the following attributes: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value`
- Table
- `sort-method` now aligns with `Array.sort`. It should return a number instead of a boolean