[improvement] add Cell props mixin (#2189)

This commit is contained in:
neverland
2018-11-30 15:45:50 +08:00
committed by GitHub
parent fe805af905
commit d8ff9f3d34
8 changed files with 45 additions and 38 deletions
+22
View File
@@ -0,0 +1,22 @@
/**
* Common Cell Props
*/
export default {
props: {
icon: String,
center: Boolean,
isLink: Boolean,
required: Boolean,
titleClass: String,
valueClass: String,
labelClass: String,
value: [String, Number],
label: [String, Number],
title: [String, Number],
border: {
type: Boolean,
default: true
}
}
};