Files
element-plus/packages/components/breadcrumb/src/breadcrumb.ts
Aex 4510816802 refactor(componentes): deprecate the icon font of some components (#4067)
* refactor(components): [el-breadcumb] icon

* refactor(components): el-tabs icon

* refactor(components): color picker icon

* refactor(components): menus icon

* refactor(components): loading spinner icon

* fix(components): panel-data-pick elicon import

* refactor(components): dropdown item icon

* refactor(components): tabs plus icon

* fix: message & tabs icon test

* fix(components): breadcrumb docs

* fix(components): colorPicker docs

* fix(components): loading docs

Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00

16 lines
416 B
TypeScript

import { buildProps, definePropType } from '@element-plus/utils/props'
import type { ExtractPropTypes, Component } from 'vue'
export const breadcrumbProps = buildProps({
separator: {
type: String,
default: '/',
},
separatorIcon: {
type: definePropType<string | Component>([String, Object]),
default: '',
},
} as const)
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>