lbry-desktop/ui/modal/modalSyncEnable/view.jsx

22 lines
453 B
React
Raw Normal View History

// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import SyncToggleFlow from 'component/syncEnableFlow';
type Props = {
closeModal: () => void,
mode: string,
};
const ModalSyncEnable = (props: Props) => {
const { closeModal, mode } = props;
return (
<Modal isOpen type="card" onAborted={closeModal}>
<SyncToggleFlow closeModal={closeModal} mode={mode} />
</Modal>
);
};
export default ModalSyncEnable;