Skip to content

Commit 472e486

Browse files
authored
fix ListItem typings to extend TouchableOpacityProps (#1448)
1 parent 788d5a4 commit 472e486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/components/ListItem.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
import {ComponentType} from 'react';
3-
import {GestureResponderEvent, StyleProp, ViewStyle} from 'react-native';
3+
import {GestureResponderEvent, StyleProp, ViewStyle, TouchableOpacityProps} from 'react-native';
44
import {BaseComponent} from '../commons';
55

6-
export interface ListItemPartProps {
6+
export interface ListItemPartProps extends TouchableOpacityProps {
77
left?: boolean;
88
middle?: boolean;
99
right?: boolean;

0 commit comments

Comments
 (0)