UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 1.19 kB
{"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type { IconPropType } from '@element-plus/utils'\n\nexport interface BreadcrumbProps {\n /**\n * @description separator character\n */\n separator?: string\n /**\n * @description icon component of icon separator\n */\n separatorIcon?: IconPropType\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `BreadcrumbProps` instead.\n */\nexport const breadcrumbProps = buildProps({\n /**\n * @description separator character\n */\n separator: {\n type: String,\n default: '/',\n },\n /**\n * @description icon component of icon separator\n */\n separatorIcon: {\n type: iconPropType,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `BreadcrumbProps` instead.\n */\nexport type BreadcrumbPropsPublic = ExtractPublicPropTypes<\n typeof breadcrumbProps\n>\n"],"mappings":";;;;;;;AAmBA,MAAa,kBAAkB,WAAW;CAIxC,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,eAAe,EACb,MAAM,cACP;CACF,CAAU"}