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.
ant-design-vue/components/breadcrumb/Breadcrumb.vue

25 lines
470 B

7 years ago
<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 () {
7 years ago
const { prefixCls } = this
7 years ago
return (
7 years ago
<div class={prefixCls}>
7 years ago
{this.$slots.default}
</div>
)
},
}
</script>