19 lines
304 B
JavaScript
19 lines
304 B
JavaScript
/**
|
|
* Common Switch Props
|
|
*/
|
|
export var switchProps = {
|
|
size: [Number, String],
|
|
value: null,
|
|
loading: Boolean,
|
|
disabled: Boolean,
|
|
activeColor: String,
|
|
inactiveColor: String,
|
|
activeValue: {
|
|
type: null,
|
|
default: true
|
|
},
|
|
inactiveValue: {
|
|
type: null,
|
|
default: false
|
|
}
|
|
}; |