mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 20:05:39 +00:00
25 lines
472 B
Vue
25 lines
472 B
Vue
<template>
|
|
<div class="text-input__loading" :style="`margin-top: ${top || 0}rem`">
|
|
<div
|
|
v-for="l in Array(count || 1)"
|
|
:key="l"
|
|
class="text-input__loading--line"
|
|
:class="lineClass || ''"
|
|
></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
interface Props {
|
|
count?: number;
|
|
lineClass?: string;
|
|
top?: number;
|
|
}
|
|
|
|
defineProps<Props>();
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "scss/loading-placeholder";
|
|
</style>
|