[improvement] Tag: add size prop (#1949)

This commit is contained in:
neverland
2018-10-17 15:16:32 +08:00
committed by GitHub
parent 935108c15c
commit d252a66b77
6 changed files with 43 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
:class="[b({
mark,
plain,
round
round,
[size]: size
}), {
'van-hairline--surround': plain
}]"
@@ -27,6 +28,7 @@ export default create({
name: 'tag',
props: {
size: String,
type: String,
mark: Boolean,
color: String,