Skip to content

Commit

Permalink
fix: list.accordion onlongpress type (#2697)
Browse files Browse the repository at this point in the history
  • Loading branch information
afermon authored Jun 22, 2021
1 parent ab20765 commit 75abfd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/List/ListAccordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
StyleProp,
TextStyle,
I18nManager,
GestureResponderEvent,
} from 'react-native';
import TouchableRipple from '../TouchableRipple/TouchableRipple';
import MaterialCommunityIcon from '../MaterialCommunityIcon';
Expand Down Expand Up @@ -45,7 +46,7 @@ type Props = {
/**
* Function to execute on long press.
*/
onLongPress?: () => void;
onLongPress?: (e: GestureResponderEvent) => void;
/**
* Content of the section.
*/
Expand Down

0 comments on commit 75abfd0

Please sign in to comment.