From 26b6ddf9b03cdc108891ad45a1c2c2bbcc39376d Mon Sep 17 00:00:00 2001 From: Pavel Klibani Date: Wed, 18 Oct 2023 10:04:35 +0200 Subject: [PATCH] fixup! fixup! fixup! Feat(web-react): FileUploader - Support for crop image #DS-954 --- .../src/components/FileUploader/AttachmentImagePreview.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-react/src/components/FileUploader/AttachmentImagePreview.tsx b/packages/web-react/src/components/FileUploader/AttachmentImagePreview.tsx index a47dc00c3d..919150aa41 100644 --- a/packages/web-react/src/components/FileUploader/AttachmentImagePreview.tsx +++ b/packages/web-react/src/components/FileUploader/AttachmentImagePreview.tsx @@ -1,11 +1,11 @@ import React from 'react'; import { FileMetadata } from '../../types/fileUploader'; -import { useFileUploaderStyleProps } from './useFileUploaderStyleProps'; import { IMAGE_DIMENSION } from './constants'; +import { useFileUploaderStyleProps } from './useFileUploaderStyleProps'; type AttachmentImagePreviewProps = { - label: string; imagePreview: string; + label: string; meta?: FileMetadata; };