Refactor additionalClass parameter to be className for clarity

This commit is contained in:
kwaroran
2024-04-11 05:46:10 +09:00
parent 35af70f70f
commit 386129626f
9 changed files with 21 additions and 21 deletions

View File

@@ -37,9 +37,9 @@
<div class="w-full flex justify-center mt-4">
<div class="flex w-2xl max-w-full items-center">
{#if $SizeStore.w < 768}
<TextInput additionalClass="flex-grow min-w-0" placeholder="Search" bind:value={search} />
<TextInput className="flex-grow min-w-0" placeholder="Search" bind:value={search} />
{:else}
<TextInput size="xl" additionalClass="flex-grow" placeholder="Search" bind:value={search} />
<TextInput size="xl" className="flex-grow" placeholder="Search" bind:value={search} />
{/if}
<button class="bg-darkbg h-14 w-14 min-w-14 rounded-lg ml-2 flex justify-center items-center hover:ring transition-shadow" on:click={() => {