mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
25 lines
470 B
Vue
25 lines
470 B
Vue
<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>
|