import React from "react";
import { View } from "react-native";
import ActionButton from "../../Buttons/ActionButton";
const renderEmptyView = () => {
const emptyViewStyle: any = {
width: 50,
height: 50,
};
return ;
};
type CloseButtonProps = Testable & {
onPress: () => void;
screenStyles?: any;
};
const CloseButton = ({
onPress,
screenStyles,
testID = "closeButton",
}: CloseButtonProps) => {
const containerStyle: any = {};
if (!onPress) {
return renderEmptyView();
}
return (
);
};
export default CloseButton;