[improvement] Picker: shared props (#2888)

This commit is contained in:
neverland
2019-03-02 11:03:04 +08:00
committed by GitHub
parent 0245e663d0
commit 317b9c329d
5 changed files with 32 additions and 31 deletions
-21
View File
@@ -1,21 +0,0 @@
/**
* Common Picker Props
*/
export const PickerMixin = {
props: {
title: String,
loading: Boolean,
showToolbar: Boolean,
cancelButtonText: String,
confirmButtonText: String,
visibleItemCount: {
type: Number,
default: 5
},
itemHeight: {
type: Number,
default: 44
}
}
};