mirror of
https://github.com/CorentinTh/it-tools
synced 2025-12-12 14:15:40 +00:00
chore(lint): switched to a better lint config
This commit is contained in:
committed by
Corentin THOMASSET
parent
4d2b037dbe
commit
33c9b6643f
@@ -1,3 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { type Component, toRefs } from 'vue';
|
||||
|
||||
const props = defineProps<{ icon: Component; title: string }>();
|
||||
const { icon, title } = toRefs(props);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<c-card class="colored-card">
|
||||
<n-icon class="icon" size="40" :component="icon" />
|
||||
@@ -13,13 +20,6 @@
|
||||
</c-card>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { toRefs, type Component } from 'vue';
|
||||
|
||||
const props = defineProps<{ icon: Component; title: string }>();
|
||||
const { icon, title } = toRefs(props);
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.colored-card {
|
||||
background: rgb(37, 99, 108);
|
||||
|
||||
Reference in New Issue
Block a user