[new feature] Tab: add line height prop (#2357)

This commit is contained in:
neverland
2018-12-22 08:56:29 +08:00
committed by GitHub
parent d77a240a49
commit dec920e36e
4 changed files with 19 additions and 4 deletions
+1
View File
@@ -155,6 +155,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| type | Can be set to `line` `card` | `String` | `line` |
| duration | Toggle tab's animation time | `Number` | `0.3` | - |
| 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` | - |
| sticky | Whether to use sticky mode | `Boolean` | `false` |
| offset-top | Offset top when use sticky mode | `Number` | `0` |