From 9123b35a85d9dfdb0d36f857528c97f1a92e75f7 Mon Sep 17 00:00:00 2001 From: arkml Date: Fri, 19 Sep 2025 18:36:55 +0530 Subject: [PATCH] move to x icon for dismiss --- .../common/compose-box-playground.tsx | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/apps/rowboat/components/common/compose-box-playground.tsx b/apps/rowboat/components/common/compose-box-playground.tsx index 229582df..28ed35a3 100644 --- a/apps/rowboat/components/common/compose-box-playground.tsx +++ b/apps/rowboat/components/common/compose-box-playground.tsx @@ -133,7 +133,7 @@ export function ComposeBoxPlayground({ {/* Textarea */}
{pendingImage && ( -
+
Uploaded image preview
)} @@ -276,3 +277,22 @@ function ImageIcon({ size, className }: { size: number, className?: string }) { ); } + +function XIcon({ size, className }: { size: number, className?: string }) { + return ( + + + + + ); +}