File tree Expand file tree Collapse file tree
platforms/metagram/src/lib/fragments/MessageInput Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 {:else }
3636 <!-- svelte-ignore a11y_click_events_have_key_events -->
3737 <!-- svelte-ignore a11y_no_static_element_interactions -->
38- <div
39- class =" bg-grey flex aspect-square h-13 w-13 items-center justify-center rounded-full"
38+ <button
39+ type =" button"
40+ class =" bg-grey flex aspect-square h-13 w-13 items-center justify-center rounded-full border-0 p-0"
4041 onclick ={handleAdd }
42+ aria-label =" Add attachment"
4143 >
4244 <HugeiconsIcon size ="24px" icon ={PlusSignIcon } color =" var(--color-black-400)" />
43- </div >
45+ </button >
4446 {/if }
4547 <Input type ="text" bind:value {placeholder } />
4648 {#if value || variant === ' dm' }
5557 {:else }
5658 <div class =" bg-grey flex aspect-square h-13 w-13 items-center justify-center rounded-full" >
5759 <input id =" add-image" type =" file" class =" hidden" accept =" image/*" bind:files />
58- <label for =" add-image" >
59- <HugeiconsIcon size ="24px" icon ={ImageCompositionOvalIcon } color =" var(--color-black-400)" />
60- </label >
60+ <button
61+ type =" button"
62+ class =" bg-grey flex aspect-square h-13 w-13 items-center justify-center rounded-full border-0 p-0"
63+ onclick ={handleSend }
64+ aria-label =" Send message"
65+ >
66+ <HugeiconsIcon size ="24px" icon ={SentIcon } color =" var(--color-black-400)" />
67+ </button >
6168 </div >
6269 {/if }
6370</div >
You can’t perform that action at this time.
0 commit comments