From ba67f2a9aa006bf3bb2e96bd7e031627df1b2d0d Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Tue, 27 Aug 2024 21:48:28 +0200 Subject: [PATCH] Fix touchableComponent type --- 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