Code snippet, better UX in questionnaire

This commit is contained in:
Rotimi Best
2021-07-03 19:29:41 +00:00
parent b76d1c9647
commit fbdfd3321b
17 changed files with 348 additions and 92 deletions
+2 -1
View File
@@ -3,9 +3,10 @@
export let placeholder;
export let value;
export let onKeyDown;
export let className = "";
</script>
<label class="block mb-3">
<label class="block {className}">
{#if label}<h4 class="m-0">{label}</h4>{/if}
<input
class="form-input p-2 mt-1 block w-full bg-gray-100 border-t-0 border-l-0 border-r-0 border-b-1"