Code snippet, better UX in questionnaire
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user