diff --git a/src/renderer/src/components/browser-pane/annotate/browser-annotation-image-strip.tsx b/src/renderer/src/components/browser-pane/annotate/browser-annotation-image-strip.tsx new file mode 100644 index 00000000000..457fe1fa8bd --- /dev/null +++ b/src/renderer/src/components/browser-pane/annotate/browser-annotation-image-strip.tsx @@ -0,0 +1,21 @@ +import { NativeChatImageAttachmentPreview } from '@/components/native-chat/NativeChatImageAttachmentPreview' +import type { NativeChatComposerImageAttachment } from '@/components/native-chat/NativeChatComposerField' + +export function BrowserAnnotationImageStrip({ + images, + onRemove +}: { + images: NativeChatComposerImageAttachment[] + onRemove: (id: string) => void +}): React.JSX.Element | null { + if (images.length === 0) { + return null + } + return ( +