feat: allow string type z-index

This commit is contained in:
陈嘉涵
2020-01-28 21:34:16 +08:00
parent 9dcf57c65f
commit 8a679079fb
18 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ Use `active-color` prop to custom active color of the title and options
| Attribute | Description | Type | Default |
|------|------|------|------|
| active-color | Active color of title and option | *string* | `#1989fa` |
| z-index | z-index of menu item | *number* | `10` |
| z-index | z-index of menu item | *string \| number* | `10` |
| duration | Transition duration, unit second | *number* | `0.2` |
| direction `v2.0.1` | Expand direction, can be set to `up` | *string* | `down` |
| overlay | Whether to show overlay | *boolean* | `true` |