[Improvement] Button: add square prop (#1627)

This commit is contained in:
neverland
2018-08-14 14:56:51 +08:00
committed by GitHub
parent 559a04924b
commit 513b62053e
4 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
{
block,
plain,
square,
loading,
disabled,
unclickable: disabled || loading,
@@ -34,6 +35,7 @@ export default create({
text: String,
block: Boolean,
plain: Boolean,
square: Boolean,
loading: Boolean,
disabled: Boolean,
nativeType: String,