Files
element-plus/packages/components/empty/src/empty.ts

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>