feat(Calendar): add position prop

This commit is contained in:
陈嘉涵
2019-12-28 12:06:52 +08:00
committed by neverland
parent 8dea26db95
commit 956800b95c
4 changed files with 12 additions and 3 deletions
+1
View File
@@ -196,6 +196,7 @@ Set `poppable` to `false`, the calendar will be displayed directly on the page i
| default-date | Default selected date | *Date \| Date[]* | Today | - |
| row-height | Row height | *number* | `64` | - |
| formatter | Day formatter | *(day: Day) => Day* | - | - |
| position | Popup position, can be set to `top` `right` `left` | *string* | `bottom` | - |
| poppable | Whether to show the calendar inside a popup | *boolean* | `true` | - |
| show-mark | Whether to show background month mark | *boolean* | `true` | - |
| show-confirm | Whether to show confirm button | *boolean* | `true` | - |