2020-03-21 11:53:30 +08:00

31 lines
565 B
JavaScript

// props for choose image
export const chooseImageProps = {
sizeType: {
type: Array,
value: ['original', 'compressed']
},
capture: {
type: Array,
value: ['album', 'camera']
}
};
// props for choose video
export const chooseVideoProps = {
capture: {
type: Array,
value: ['album', 'camera']
},
compressed: {
type: Boolean,
value: true
},
maxDuration: {
type: Number,
value: 60
},
camera: {
type: String,
value: 'back'
}
};