expandField = true} class="rounded-lg text-sm {expandField ? 'min-h-24 h-auto border-[#1C4090]' : 'h-12 border-gray-500'} overflow-hidden sm:hover:border-[#1C4090] sm:hover:ring-1 transition sm:ease-out placeholder-gray-500 w-full bg-[#09090B] text-white border border-1 ring-2 sm:ring-0 ring-[#1C4090]" placeholder={placeholder} value={inputValue} bind:this={ref} on:input={handleInput} /> {#if expandField}
Cancel
{#if isLoaded}
Post
{:else}
Post
{/if}
{#if imageInput.length !== 0}
imageInput = ''} class="text-black w-7 h-7 text-center m-auto flex justify-center items-center rounded-full bg-white absolute top-0 -right-2">✕
{/if}
{/if}