mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 20:05:39 +00:00
Resolved ALL eslint issues for project
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div class="text-input__loading" :style="`margin-top: ${top}rem`">
|
||||
<div class="text-input__loading" :style="`margin-top: ${top || 0}rem`">
|
||||
<div
|
||||
class="text-input__loading--line"
|
||||
:class="lineClass"
|
||||
v-for="l in Array(count)"
|
||||
v-for="l in Array(count || 1)"
|
||||
:key="l"
|
||||
class="text-input__loading--line"
|
||||
:class="lineClass || ''"
|
||||
></div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -13,12 +13,12 @@
|
||||
import { defineProps } from "vue";
|
||||
|
||||
interface Props {
|
||||
count?: Number;
|
||||
lineClass?: String;
|
||||
top?: Number;
|
||||
count?: number;
|
||||
lineClass?: string;
|
||||
top?: number;
|
||||
}
|
||||
|
||||
const { count = 1, lineClass = "", top = 0 } = defineProps<Props>();
|
||||
defineProps<Props>();
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user