From 699a8f41fe91f9fa87606c062b5878289369a8f2 Mon Sep 17 00:00:00 2001 From: Jason Gerbes Date: Fri, 27 Sep 2024 11:04:21 +1200 Subject: [PATCH] Add missing props to CropperWrapperComponent type --- src/types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/types.ts b/src/types.ts index ca31442b..e8059cc8 100644 --- a/src/types.ts +++ b/src/types.ts @@ -14,6 +14,17 @@ export type CropperWrapperComponent = FC<{ className?: string; style?: CSSProperties; children?: ReactNode; + disabled?: boolean; + + /** + * @deprecated Use `cropper.isLoaded()` instead. + */ + loading?: boolean; + + /** + * @deprecated Use `cropper.isLoaded()` instead. + */ + loaded: boolean; }>; export type CropperBoundaryComponent = any;