Skip to content

Commit

Permalink
Fix touchableComponent type (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored Aug 27, 2024
1 parent 2683d15 commit 3500b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export interface AccordionProps<T> {
*
* @default TouchableHighlight
*/
touchableComponent?: React.ComponentClass;
touchableComponent?: React.ComponentType;

/**
* Object of props to pass to the touchable component
Expand Down

0 comments on commit 3500b1d

Please sign in to comment.