2025-02-28 19:43:11 +08:00

31 lines
668 B
JavaScript

import { keysOf } from "../../_utils/index.mjs";
const dialogProps = {
icon: Function,
type: {
type: String,
default: 'default'
},
title: [String, Function],
closable: {
type: Boolean,
default: true
},
negativeText: String,
positiveText: String,
positiveButtonProps: Object,
negativeButtonProps: Object,
content: [String, Function],
action: Function,
showIcon: {
type: Boolean,
default: true
},
loading: Boolean,
bordered: Boolean,
iconPlacement: String,
onPositiveClick: Function,
onNegativeClick: Function,
onClose: Function
};
export { dialogProps };
export const dialogPropKeys = keysOf(dialogProps);