From 21c57caa9bd148eb4ccda3efd5e114f9fbdd0b8f Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 28 Aug 2022 11:52:14 +0800 Subject: [PATCH] docs(DatePicker): fix toolbar slot name (#10983) --- packages/vant/src/date-picker/README.md | 2 +- packages/vant/src/date-picker/README.zh-CN.md | 2 +- packages/vant/src/time-picker/README.md | 2 +- packages/vant/src/time-picker/README.zh-CN.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vant/src/date-picker/README.md b/packages/vant/src/date-picker/README.md index ab59f5950..30ed4acd4 100644 --- a/packages/vant/src/date-picker/README.md +++ b/packages/vant/src/date-picker/README.md @@ -196,7 +196,7 @@ export default { | Name | Description | SlotProps | | -------------- | ---------------------------- | ---------------------- | -| default | Custom toolbar content | - | +| toolbar | Custom toolbar content | - | | title | Custom title | - | | confirm | Custom confirm button text | - | | cancel | Custom cancel button text | - | diff --git a/packages/vant/src/date-picker/README.zh-CN.md b/packages/vant/src/date-picker/README.zh-CN.md index 0ca0911ab..71edcc5e7 100644 --- a/packages/vant/src/date-picker/README.zh-CN.md +++ b/packages/vant/src/date-picker/README.zh-CN.md @@ -202,7 +202,7 @@ export default { | 名称 | 说明 | 参数 | | -------------- | ---------------------- | ---------------------- | -| default | 自定义整个顶部栏的内容 | - | +| toolbar | 自定义整个顶部栏的内容 | - | | title | 自定义标题内容 | - | | confirm | 自定义确认按钮内容 | - | | cancel | 自定义取消按钮内容 | - | diff --git a/packages/vant/src/time-picker/README.md b/packages/vant/src/time-picker/README.md index ae738d83b..df729cd59 100644 --- a/packages/vant/src/time-picker/README.md +++ b/packages/vant/src/time-picker/README.md @@ -197,7 +197,7 @@ export default { | Name | Description | SlotProps | | -------------- | ---------------------------- | ---------------------- | -| default | Custom toolbar content | - | +| toolbar | Custom toolbar content | - | | title | Custom title | - | | confirm | Custom confirm button text | - | | cancel | Custom cancel button text | - | diff --git a/packages/vant/src/time-picker/README.zh-CN.md b/packages/vant/src/time-picker/README.zh-CN.md index d66363726..79ca930f9 100644 --- a/packages/vant/src/time-picker/README.zh-CN.md +++ b/packages/vant/src/time-picker/README.zh-CN.md @@ -198,7 +198,7 @@ export default { | 名称 | 说明 | 参数 | | -------------- | ---------------------- | ---------------------- | -| default | 自定义整个顶部栏的内容 | - | +| toolbar | 自定义整个顶部栏的内容 | - | | title | 自定义标题内容 | - | | confirm | 自定义确认按钮内容 | - | | cancel | 自定义取消按钮内容 | - |