CLASSROOMIO-T-80: Replace sapper with sveltekit

This commit is contained in:
Rotimi Best
2023-08-02 19:35:27 +01:00
parent 8ffdf319b3
commit 7dfbb05451
320 changed files with 5207 additions and 18330 deletions
+19
View File
@@ -0,0 +1,19 @@
<script>
export let label;
export let placeholder;
export let value;
export let className = '';
export let onInput = () => {};
$: console.log(`value`, value);
</script>
<label class="block {className}">
<span class="text-gray-700 dark:text-white">{label}</span>
<input
bind:value
on:input={onInput}
{placeholder}
type="datetime-local"
class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50"
/>
</label>