From 030b19fff60f8915510a6a34a7e2055774a4b21e Mon Sep 17 00:00:00 2001 From: Thahsan Mohomed Date: Tue, 17 Dec 2024 20:11:29 +0530 Subject: [PATCH] chore: remove unused prop --- src/components/ImageLoader/ImageLoader.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/ImageLoader/ImageLoader.tsx b/src/components/ImageLoader/ImageLoader.tsx index 6e8c9f3..9544e0b 100644 --- a/src/components/ImageLoader/ImageLoader.tsx +++ b/src/components/ImageLoader/ImageLoader.tsx @@ -56,11 +56,6 @@ export type TImageLoaderProps = T & { * The fallback logic will reset when the reference to the source or fallback changes. */ fallback?: TImageLoaderFallback; - - /** - * Callback function that is called when an image loads successfully - */ - onSuccess?: () => void; }; // Helper function to get all sources