From d3a55de5952ca0c5bdb5c94c75fd43e47256b606 Mon Sep 17 00:00:00 2001 From: UltraLionFr Date: Sun, 7 Dec 2025 00:15:43 +0100 Subject: [PATCH] =?UTF-8?q?update:=20Wrapper=20pour=20simplifier=20l'utili?= =?UTF-8?q?sation=20des=20ic=C3=B4nes=20LineIcons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/dashboard/_components/tutorial-form.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/dashboard/_components/tutorial-form.tsx b/app/dashboard/_components/tutorial-form.tsx index 57263d7..7879761 100644 --- a/app/dashboard/_components/tutorial-form.tsx +++ b/app/dashboard/_components/tutorial-form.tsx @@ -14,7 +14,6 @@ import { Pencil1Outlined, StopwatchOutlined, } from "@lineiconshq/free-icons"; -import { Lineicons } from "@lineiconshq/react-lineicons"; import { useCallback, useEffect, useRef, useState } from "react"; type TutorialFormProps = { @@ -26,7 +25,7 @@ type TutorialFormProps = { // Wrapper pour simplifier l'utilisation des icônes LineIcons function Icon({ - icon, + icon: IconComponent, size = 16, className = "", }: { @@ -34,7 +33,7 @@ function Icon({ size?: number; className?: string; }) { - return ; + return ; } // Composant pour les labels avec icône @@ -125,12 +124,12 @@ function FormSection({ }) { return (
{/* Effet de brillance en haut */} -
+
{/* Header */}
@@ -348,7 +347,7 @@ export function TutorialForm({ Éditer {activeTab === "edit" && ( - + )}
@@ -485,7 +484,8 @@ C'est tout pour ce tutoriel !`} />

- Commencez à écrire pour voir l'aperçu... + Commencez à écrire pour voir + l&aops;aperçu...

)} @@ -499,7 +499,7 @@ C'est tout pour ce tutoriel !`}