From 20ebad74fb2bf1d72de2ff8408ce82f53b063b14 Mon Sep 17 00:00:00 2001 From: Clement Date: Tue, 21 May 2024 12:24:45 +0200 Subject: [PATCH] add div class to input --- front/src/components/Input.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/src/components/Input.astro b/front/src/components/Input.astro index db17398..a565dd4 100644 --- a/front/src/components/Input.astro +++ b/front/src/components/Input.astro @@ -1,14 +1,14 @@ --- import type { Input as Props } from 'types'; -const { type, name, label, autocomplete, placeholder} = Astro.props; +const { type, name, label, autocomplete, placeholder, divClass, inputClass} = Astro.props; --- <> { name && ( -
+
{label && (
)