2022-11-30 07:21:11 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
defineProps<{
|
2022-11-30 14:24:03 +01:00
|
|
|
increased?: boolean
|
2022-11-30 07:21:11 +01:00
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-30 08:30:35 +01:00
|
|
|
<div of-hidden h="1.25rem">
|
|
|
|
<div flex="~ col" transition-transform duration-300 :class="increased ? 'translate-y--1/2' : 'translate-y-0'">
|
2022-11-30 07:21:11 +01:00
|
|
|
<slot />
|
|
|
|
<slot name="next" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|