mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-25 14:08:20 +03:00
14 lines
307 B
Vue
14 lines
307 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
increased?: boolean
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div of-hidden h="1.25rem">
|
|
<div flex="~ col" transition-transform duration-300 :class="increased ? 'translate-y--1/2' : 'translate-y-0'">
|
|
<slot />
|
|
<slot name="next" />
|
|
</div>
|
|
</div>
|
|
</template>
|