Add the ProjectViewSwitcher component
This commit is contained in:
parent
9d508f806b
commit
635799e60a
2 changed files with 23 additions and 6 deletions
6
src/components/ProjectViewSwitcher.vue
Normal file
6
src/components/ProjectViewSwitcher.vue
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<button type="button" @click="$emit('changed', 'grid')">Grid</button>
|
||||
<button type="button" @click="$emit('changed', 'list')" class="ml-2">List</button>
|
||||
</div>
|
||||
</template>
|
||||
Reference in a new issue