element-plus
Version:
A Component Library for Vue 3
51 lines (46 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
require('../../button/index.js');
var icons = require('@element-plus/icons');
var props = require('../../../utils/props.js');
var button = require('../../button/src/button.js');
const popconfirmProps = props.buildProps({
title: {
type: String
},
confirmButtonText: {
type: String
},
cancelButtonText: {
type: String
},
confirmButtonType: {
type: String,
values: button.buttonType,
default: "primary"
},
cancelButtonType: {
type: String,
values: button.buttonType,
default: "text"
},
icon: {
type: props.definePropType([String, Object]),
default: icons.QuestionFilled
},
iconColor: {
type: String,
default: "#f90"
},
hideIcon: {
type: Boolean,
default: false
}
});
const popconfirmEmits = {
confirm: () => true,
cancel: () => true
};
exports.popconfirmEmits = popconfirmEmits;
exports.popconfirmProps = popconfirmProps;
//# sourceMappingURL=popconfirm.js.map