From 8e456cdb57cca46bc11d7d2fd3238067b8547a04 Mon Sep 17 00:00:00 2001
From: Antony Le Courtes <antony.lecourtes@unicaen.fr>
Date: Wed, 21 Feb 2024 15:27:50 +0100
Subject: [PATCH] Ajout props id et rotate pour les icones font awesome

---
 components/UIcon.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/components/UIcon.vue b/components/UIcon.vue
index f33691b..2329d8c 100644
--- a/components/UIcon.vue
+++ b/components/UIcon.vue
@@ -1,5 +1,5 @@
 <template>
-    <i :class="`fas fa-${name} text-${variant}`"></i>
+    <i :class="`fas fa-${name} text-${variant} fa-rotate-${rotate}`" :id="`${id}`"></i>
 </template>
 
 <script>
@@ -8,6 +8,9 @@ export default {
     props: {
         name: {required: true, type: String},
         variant: {required: false, type: String},
+        rotate: {required: false, type: String},
+        id: {required: false, type: String},
+
     },
 }
 </script>
-- 
GitLab