You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
470 B
25 lines
470 B
<script>
|
|
import PropTypes from '../_util/vue-types'
|
|
|
|
export default {
|
|
name: 'Breadcrumb',
|
|
props: {
|
|
prefixCls: PropTypes.string.def('ant-breadcrumb'),
|
|
separator: PropTypes.string.def('/'),
|
|
},
|
|
provide () {
|
|
return {
|
|
breadCrumbParent: this,
|
|
}
|
|
},
|
|
render () {
|
|
const { prefixCls } = this
|
|
return (
|
|
<div class={prefixCls}>
|
|
{this.$slots.default}
|
|
</div>
|
|
)
|
|
},
|
|
}
|
|
</script>
|