53 lines
980 B
TypeScript
Raw Permalink Normal View History

2024-11-05 10:14:41 +08:00
import { buildProps } from '../../../../utils'
import { ZIndex } from '../../../../constants'
export const pickerBaseProps = buildProps({
/**
* @description
*/
showCancel: {
type: Boolean,
default: true,
},
/**
* @description
*/
cancelText: {
type: String,
default: '取 消',
},
/**
* @description
*/
cancelColor: String,
/**
* @description
*/
showConfirm: {
type: Boolean,
default: true,
},
/**
* @description
*/
confirmText: {
type: String,
default: '确 定',
},
/**
* @description
*/
confirmColor: String,
/**
* @description
*/
mask: Boolean,
/**
* zIndex
*/
zIndex: {
type: Number,
default: ZIndex.popup,
},
} as const)