diff --git a/src/components/BaseToast.tsx b/src/components/BaseToast.tsx
index 92ffcba2..cbb962ae 100644
--- a/src/components/BaseToast.tsx
+++ b/src/components/BaseToast.tsx
@@ -1,16 +1,15 @@
import React from 'react';
-import { Text, View } from 'react-native';
+import { Text, View, TouchableOpacity } from 'react-native';
import { BaseToastProps } from '../types';
import { getTestId } from '../utils/test-id';
import { styles } from './BaseToast.styles';
-import { Touchable } from './Touchable';
export function BaseToast({
text1,
text2,
onPress,
- activeOpacity,
+ activeOpacity = 1,
style,
touchableContainerProps,
contentContainerStyle,
@@ -25,7 +24,7 @@ export function BaseToast({
renderTrailingIcon
}: BaseToastProps) {
return (
-
{renderTrailingIcon && renderTrailingIcon()}
-
+
);
}
diff --git a/src/components/Touchable.tsx b/src/components/Touchable.tsx
deleted file mode 100644
index 0e426410..00000000
--- a/src/components/Touchable.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-import { TouchableOpacity, TouchableOpacityProps } from 'react-native';
-
-import { ReactChildren } from '../types';
-
-type TouchableProps = {
- children: ReactChildren;
-} & TouchableOpacityProps;
-
-export function Touchable({
- children,
- activeOpacity = 1,
- ...rest
-}: TouchableProps) {
- return (
-
- {children}
-
- );
-}