[improvement] add Picker prop mixin (#2191)

This commit is contained in:
neverland
2018-11-30 16:05:03 +08:00
committed by GitHub
parent d8ff9f3d34
commit 996c67b4fc
5 changed files with 36 additions and 21 deletions
+21
View File
@@ -0,0 +1,21 @@
/**
* Common Picker Props
*/
export default {
props: {
title: String,
loading: Boolean,
showToolbar: Boolean,
cancelButtonText: String,
confirmButtonText: String,
visibleItemCount: {
type: Number,
default: 5
},
itemHeight: {
type: Number,
default: 44
}
}
};