[Improvement] Cell: add center prop (#771)

This commit is contained in:
neverland
2018-03-23 22:46:30 +08:00
committed by GitHub
parent eda842ce07
commit 199ec0cd85
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -3,6 +3,7 @@
class="van-cell"
:class="{
'van-hairline': border,
'van-cell--center': center,
'van-cell--required': required,
'van-cell--clickable': isLink || clickable
}"
@@ -54,6 +55,7 @@ export default create({
icon: String,
title: String,
label: String,
center: Boolean,
isLink: Boolean,
required: Boolean,
clickable: Boolean,