[new feature] Tabs: add background prop (#2772)

This commit is contained in:
neverland
2019-02-17 20:37:42 +08:00
committed by GitHub
parent 34e30aac5e
commit cb4127949f
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -154,6 +154,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| color | Tab color | `String` | `#f44` |
| type | Can be set to `line` `card` | `String` | `line` |
| duration | Toggle tab's animation time | `Number` | `0.3` | - |
| background | Background color | `String` | `white` |
| line-width | Width of tab line (px) | `Number` | Width of active tab |
| line-height | Height of tab line (px) | `Number` | 3 |
| swipe-threshold | Set swipe tabs threshold | `Number` | `4` | - |