[improvement] Tab: support string type of line-width & line-height (#3514)
This commit is contained in:
@@ -159,8 +159,8 @@ 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` | - |
|
||||
| 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 |
|
||||
| line-width | Width of tab line | `Number | String` | Width of active tab |
|
||||
| line-height | Height of tab line | `Number | String` | `3px` |
|
||||
| color | Tab color | `String` | `#f44` |
|
||||
| title-active-color | Title active color | `String` | - |
|
||||
| title-inactive-color | Title inactive color | `String` | - |
|
||||
|
||||
Reference in New Issue
Block a user