import React from 'react' import { Modal, ModalPortal, ModalContent, ModalHeader, ModalTitle, ModalFooter, ModalClose, Button, } from '@janhq/uikit' import { atom, useAtom } from 'jotai' export const showDestNotEmptyConfirmAtom = atom(false) type Props = { onUserConfirmed: () => void } const ModalChangeDestNotEmpty: React.FC = ({ onUserConfirmed }) => { const [show, setShow] = useAtom(showDestNotEmptyConfirmAtom) return ( This folder is not empty. Are you sure you want to relocate Jan Data Folder here?

You may accidentally delete your other personal data when uninstalling the app in the future. Are you sure you want to proceed with this folder? Please review your selection carefully.

setShow(false)}>
) } export default ModalChangeDestNotEmpty