feat(Calendar): add max-range、range-prompt prop (#5583)

This commit is contained in:
KongYe
2020-01-15 16:34:13 +08:00
committed by neverland
parent cfd40f2eaf
commit 670b346963
11 changed files with 45 additions and 8 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ export default {
start: 'Start',
title: 'Calendar',
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
monthTitle: (year: number, month: number) => `${year}/${month}`
monthTitle: (year: number, month: number) => `${year}/${month}`,
rangePromptText: (maxRange: Number) => `Choose no more than ${maxRange} days`
},
vanContactCard: {
addText: 'Add contact info'