<script lang="ts">
  export let name = "";
  export let type = "text";
  export let label = "";
  export let value: string | number | null = "";
</script>

<label class="form-control w-full max-w-xs">
  <div class="label">{label}</div>
  <input {name} class="input input-bordered w-full max-w-xs" {type} {value} />
</label>
