diff --git a/docs/images/composer-after.jpg b/docs/images/composer-after.jpg new file mode 100644 index 000000000..6b535f49f Binary files /dev/null and b/docs/images/composer-after.jpg differ diff --git a/docs/images/composer-before.png b/docs/images/composer-before.png new file mode 100644 index 000000000..22cec3146 Binary files /dev/null and b/docs/images/composer-before.png differ diff --git a/packages/chat-ui/src/composer.tsx b/packages/chat-ui/src/composer.tsx index 534608694..54ff69920 100644 --- a/packages/chat-ui/src/composer.tsx +++ b/packages/chat-ui/src/composer.tsx @@ -7,7 +7,7 @@ // does not compose with an inline mention popover. import { Avatar, Button } from "@corbits/react-ui"; -import { CircleNotch, Paperclip, PaperPlaneRight, X } from "@corbits/icons"; +import { ArrowUp, CircleNotch, Paperclip, X } from "@corbits/icons"; import { forwardRef, useImperativeHandle, @@ -240,7 +240,7 @@ export function attachmentValidationMessage( } } -/** PaperPlaneRight/Enter stay blocked while a send or file read is in flight. */ +/** ArrowUp/Enter stay blocked while a send or file read is in flight. */ export function canSendComposerAction( text: string, attachments: readonly ComposerAttachment[], @@ -803,26 +803,6 @@ export const Composer = forwardRef< )} - {attachments.length > 0 && ( - - )}
- + {attachments.length > 0 && ( + + )}