Add title block component
This commit is contained in:
parent
56e658ec2f
commit
fb739b336a
2 changed files with 11 additions and 0 deletions
9
src/components/TitleBlock.vue
Normal file
9
src/components/TitleBlock.vue
Normal file
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<div class="bg-grey-lighter px-4 py-5 border-b-2 border-grey flex justify-between items-center">
|
||||
<div class="w-full md:w-auto flex flex-col">
|
||||
<slot name="left"></slot>
|
||||
</div>
|
||||
|
||||
<slot name="right"></slot>
|
||||
</div>
|
||||
</template>
|
Reference in a new issue