mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
break down search component into smaler components
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<div class="morexx">
|
||||
<button @click="loadMore">
|
||||
<div class="text">Load All</div>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
setup(props, { emit }) {
|
||||
function loadMore() {
|
||||
emit("loadMore");
|
||||
}
|
||||
|
||||
return {
|
||||
loadMore,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.morexx {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
margin-top: $small;
|
||||
|
||||
button {
|
||||
height: 2.5rem;
|
||||
width: 10rem;
|
||||
display: grid;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user