From 3500b1d727acaa903f33ec0742363bbf1b8db38a Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Tue, 27 Aug 2024 21:49:24 +0200 Subject: [PATCH] Fix touchableComponent type (#477) --- Accordion.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Accordion.d.ts b/Accordion.d.ts index 59ce5a7..6ce8577 100644 --- a/Accordion.d.ts +++ b/Accordion.d.ts @@ -118,7 +118,7 @@ export interface AccordionProps { * * @default TouchableHighlight */ - touchableComponent?: React.ComponentClass; + touchableComponent?: React.ComponentType; /** * Object of props to pass to the touchable component