diff --git a/front/src/components/Input.astro b/front/src/components/Input.astro new file mode 100644 index 0000000..db17398 --- /dev/null +++ b/front/src/components/Input.astro @@ -0,0 +1,28 @@ +--- +import type { Input as Props } from 'types'; + +const { type, name, label, autocomplete, placeholder} = Astro.props; + +--- + +<> + { + name && ( +
+ {label && ( + + )} + +
+ ) + } +