From 217007d32bd9f9a0781c167c119a6cc1c48e656c Mon Sep 17 00:00:00 2001 From: Basith <134603758+abdulbasithqb@users.noreply.github.com> Date: Tue, 21 May 2024 01:27:28 +0530 Subject: [PATCH] fix: Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes' --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 3f988297..34b376f5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -138,7 +138,7 @@ declare const Carousel: React.ComponentType declare const Modal: React.ComponentType -declare const ModalGateway: React.ComponentType<{}> +declare const ModalGateway: React.ComponentType<{children:any}> export default Carousel export { Modal, ModalGateway }