mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
12 lines
495 B
Vue
12 lines
495 B
Vue
<template>
|
|
<div class="flex items-center justify-between">
|
|
<UButton v-if="prev" :label="prev.navigation?.title || prev.title" :to="prev._path" icon="i-heroicons-arrow-small-left-20-solid" color="white" />
|
|
<span v-else> </span>
|
|
<UButton v-if="next" :label="next.navigation?.title || next.title" :to="next._path" trailing-icon="i-heroicons-arrow-small-right-20-solid" color="white" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { prev, next } = useContent()
|
|
</script>
|