[new feature] Field: add size prop (#2936)

This commit is contained in:
neverland
2019-03-11 09:13:23 +08:00
committed by GitHub
parent cb72fef807
commit e553c6e0dd
5 changed files with 21 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ export default sfc({
props: {
...cellProps,
size: String,
error: Boolean,
leftIcon: String,
rightIcon: String,
@@ -222,6 +223,7 @@ export default sfc({
return (
<Cell
icon={this.leftIcon}
size={this.size}
title={this.label}
center={this.center}
border={this.border}