Hey! Just noticed that when trying to change the background color, the background color will cover over the image (https://gyazo.com/1bd6ee9145f823a5e0ef9952ca0825cf). The steps to reproduce this are just to download the package, import the Crop component, and then change the background color prop like so:
import { StackScreenProps } from "@react-navigation/stack"
import { useEffect, useState } from "react";
import { View, Text, useWindowDimensions } from 'react-native'
import Crop from "react-native-avatar-crop";
import { TouchableOpacity } from "react-native-gesture-handler";
import { AppStackParamList } from "src/infra/navigation/AppNavigator"
import { theme } from "src/infra/theme";
const CropPhoto = ({ navigation, route }: StackScreenProps<AppStackParamList, "CropPhoto">) => {
const { image, type, background } = route.params;
Hey! Just noticed that when trying to change the background color, the background color will cover over the image (https://gyazo.com/1bd6ee9145f823a5e0ef9952ca0825cf). The steps to reproduce this are just to download the package, import the Crop component, and then change the background color prop like so:
import { StackScreenProps } from "@react-navigation/stack" import { useEffect, useState } from "react"; import { View, Text, useWindowDimensions } from 'react-native' import Crop from "react-native-avatar-crop"; import { TouchableOpacity } from "react-native-gesture-handler"; import { AppStackParamList } from "src/infra/navigation/AppNavigator" import { theme } from "src/infra/theme"; const CropPhoto = ({ navigation, route }: StackScreenProps<AppStackParamList, "CropPhoto">) => { const { image, type, background } = route.params;
} export default CropPhoto