Add mode functionality + create form component

This commit is contained in:
Ibitoye Rotimi Best
2021-05-22 12:32:32 +03:00
parent c614e691ed
commit ab92f59c85
25 changed files with 6177 additions and 644 deletions
+15
View File
@@ -0,0 +1,15 @@
<script>
export let label;
export let placeholder;
export let value;
</script>
<label class="block">
<span class="text-gray-700">{label}</span>
<input
class="form-input mt-1 block w-full"
type="text"
{placeholder}
bind:value
/>
</label>