mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-14 23:21:46 +03:00
19 lines
349 B
Vue
19 lines
349 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
increased: boolean
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div overflow-hidden h="1.25rem">
|
|
<div
|
|
transition="duration-300 transform"
|
|
:style="{
|
|
transform: increased ? 'translateY(-50%)' : 'translateY(0%)',
|
|
}"
|
|
>
|
|
<slot />
|
|
<slot name="next" />
|
|
</div>
|
|
</div>
|
|
</template>
|