diff --git a/front/components/UI/PopupCC.tsx b/front/components/UI/PopupCC.tsx index 09c0266..f439061 100644 --- a/front/components/UI/PopupCC.tsx +++ b/front/components/UI/PopupCC.tsx @@ -1,5 +1,6 @@ -import { Text, Row, Heading, Column } from 'native-base'; +import { Text, Heading } from 'native-base'; import ButtonBase from './ButtonBase'; +import { View } from 'react-native'; import { CloseSquare } from 'iconsax-react-native'; import { ReactNode } from 'react'; import Modal from 'react-native-modal'; @@ -27,28 +28,45 @@ const PopupCC = ({ title, description, children, isVisible, setIsVisible }: Popu }} > - - - - {title} - {setIsVisible !== undefined && ( - setIsVisible(false)} - /> - )} - + {setIsVisible !== undefined && ( + setIsVisible(false)} + /> + )} + + {title} {description !== undefined && {description}} {children !== undefined && children} - + );