Initial commit

This commit is contained in:
Martin Berg Alstad
2024-09-25 22:20:47 +02:00
parent bb58f603b2
commit 83f018c3b8
60 changed files with 6301 additions and 6615 deletions

View File

@ -0,0 +1,28 @@
---
interface Props {
label: string
type?: "text" | "email" | "password" | "number"
name: string
required?: boolean
placeholder?: string
}
const {
label,
type = "text",
name,
required = false,
placeholder,
} = Astro.props
---
<label class="flex flex-col">
{label}
<input
class="input input-bordered"
type={type}
name={name}
required={required}
placeholder={placeholder}
/>
</label>