import { Dialog, Portal  } from "react-native-paper";
import React, {useEffect} from "react";
import Broken from "@/components/Broken";

interface LocationProps {
    visible: boolean;
}
const Location: React.FC<LocationProps> = ({ visible }) => {
    useEffect(() => {
        if (visible) {

        }
    }, [visible]);
    return (
        <Portal>
            <Dialog visible={visible} >
                <Broken />
            </Dialog>
        </Portal>
    )
}

export default Location;
