update import

This commit is contained in:
GleidsonDaniel 2022-05-09 15:50:17 -03:00
parent 9e0ddc20c6
commit ba7afdeee1
2 changed files with 15 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import React from 'react';
import { RectButton, RectButtonProps, TouchableOpacity } from 'react-native-gesture-handler';
import { RectButton, RectButtonProps } from 'react-native-gesture-handler';
import { TouchableOpacity } from 'react-native';
import { TSupportedThemes } from '../theme';
import { themes } from '../lib/constants';
@ -28,7 +29,7 @@ class Touch extends React.Component<ITouchProps> {
if (touchable) {
return (
<TouchableOpacity onPress={onPress as () => void} {...(props as any)}>
<TouchableOpacity onPress={onPress as () => {}} {...(props as any)}>
{children}
</TouchableOpacity>
);

File diff suppressed because one or more lines are too long