v2 first commit
This commit is contained in:
26
resources/assets/js/components/Breadcrumb/Breadcrumb.vue
Normal file
26
resources/assets/js/components/Breadcrumb/Breadcrumb.vue
Normal file
@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb"
|
||||
:class="[{[`bg-${type}`]: type}, listClasses]">
|
||||
<slot></slot>
|
||||
</ol>
|
||||
</nav>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'breadcrumb',
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: '',
|
||||
description: 'Breadcrumb background type'
|
||||
},
|
||||
listClasses: {
|
||||
type: [String, Object],
|
||||
default: '',
|
||||
description: 'Breadcrumb list classes'
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style></style>
|
Reference in New Issue
Block a user