From 559391bc073f1337f78a291b39086fa41bf3c409 Mon Sep 17 00:00:00 2001 From: Jabin Kong <1059978534@qq.com> Date: Sat, 12 Mar 2022 21:26:59 +0800 Subject: [PATCH] feat(collapse-item): add size prop (#4829) * feat(collapse-item): add size prop default null * add docs * fix docs * Update README.md * Update README.md * Update index.ts Co-authored-by: neverland --- packages/collapse-item/index.ts | 1 + packages/collapse-item/index.wxml | 1 + packages/collapse/README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/collapse-item/index.ts b/packages/collapse-item/index.ts index 2fb500ec..5cc68340 100644 --- a/packages/collapse-item/index.ts +++ b/packages/collapse-item/index.ts @@ -8,6 +8,7 @@ VantComponent({ relation: useParent('collapse'), props: { + size: String, name: null, title: null, value: null, diff --git a/packages/collapse-item/index.wxml b/packages/collapse-item/index.wxml index ae4cc831..f11d0d43 100644 --- a/packages/collapse-item/index.wxml +++ b/packages/collapse-item/index.wxml @@ -2,6 +2,7 @@