Skip to content

Commit 8692cd2

Browse files
committed
Fix Chip using TouchableOpacityProps from RN instead of ours
1 parent 0607f0e commit 8692cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/chip/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import _ from 'lodash';
22
import React, {useCallback} from 'react';
3-
import {StyleSheet, StyleProp, ViewStyle, ViewProps, TouchableOpacityProps, ImageStyle, ImageProps, TextStyle, ImageSourcePropType} from 'react-native';
3+
import {StyleSheet, StyleProp, ViewStyle, ViewProps, ImageStyle, ImageProps, TextStyle, ImageSourcePropType} from 'react-native';
44
// @ts-ignore
55
import Assets from '../../assets';
66
import {asBaseComponent} from '../../commons/new';
@@ -11,7 +11,7 @@ import Avatar, {AvatarProps} from '../avatar';
1111
import Badge, {BadgeProps, BADGE_SIZES} from '../badge';
1212
import Image from '../image';
1313
import Text from '../text';
14-
import TouchableOpacity from '../touchableOpacity';
14+
import TouchableOpacity, {TouchableOpacityProps} from '../touchableOpacity';
1515
import View from '../view';
1616

1717

0 commit comments

Comments
 (0)