element-plus
Version:
A Component Library for Vue 3
1 lines • 1.22 kB
Source Map (JSON)
{"version":3,"file":"empty.mjs","names":[],"sources":["../../../../../../packages/components/empty/src/empty.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\n\nexport interface EmptyProps {\n /**\n * @description image URL of empty\n */\n image?: string\n /**\n * @description image size (width) of empty\n */\n imageSize?: number\n /**\n * @description description of empty\n */\n description?: string\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `EmptyProps` instead.\n */\nexport const emptyProps = buildProps({\n /**\n * @description image URL of empty\n */\n image: {\n type: String,\n default: '',\n },\n /**\n * @description image size (width) of empty\n */\n imageSize: Number,\n /**\n * @description description of empty\n */\n description: {\n type: String,\n default: '',\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `EmptyProps` instead.\n */\nexport type EmptyPropsPublic = ExtractPublicPropTypes<typeof emptyProps>\n"],"mappings":";;;;;;AAsBA,MAAa,aAAa,WAAW;CAInC,OAAO;EACL,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,aAAa;EACX,MAAM;EACN,SAAS;EACV;CACF,CAAU"}