mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
37 lines
585 B
TypeScript
37 lines
585 B
TypeScript
import { buildProps, iconPropType } from '@element-plus/utils'
|
|
|
|
export const dialogContentProps = buildProps({
|
|
center: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
closeIcon: {
|
|
type: iconPropType,
|
|
default: '',
|
|
},
|
|
customClass: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
draggable: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
fullscreen: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
showClose: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
title: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
} as const)
|
|
|
|
export const dialogContentEmits = {
|
|
close: () => true,
|
|
}
|