[improvement] make props less magic (#3775)

This commit is contained in:
neverland
2019-07-08 16:18:19 +08:00
committed by GitHub
parent 642639da6e
commit be96fa2233
55 changed files with 283 additions and 206 deletions

View File

@@ -94,17 +94,14 @@ function SubmitBar(
SubmitBar.props = {
tip: String,
tipIcon: String,
label: String,
price: Number,
tipIcon: String,
loading: Boolean,
disabled: Boolean,
buttonText: String,
suffixLabel: String,
safeAreaInsetBottom: Boolean,
price: {
type: Number,
default: null
},
decimalLength: {
type: Number,
default: 2