mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
26 lines
494 B
TypeScript
26 lines
494 B
TypeScript
import { buildProps } from '@element-plus/utils'
|
|
import type { ExtractPropTypes } from 'vue'
|
|
|
|
export const emptyProps = buildProps({
|
|
/**
|
|
* @description image URL of empty
|
|
*/
|
|
image: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
/**
|
|
* @description image size (width) of empty
|
|
*/
|
|
imageSize: Number,
|
|
/**
|
|
* @description description of empty
|
|
*/
|
|
description: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
} as const)
|
|
|
|
export type EmptyProps = ExtractPropTypes<typeof emptyProps>
|