import React from 'react' ; import DeltaDialog from './DeltaDialog' ; import { QrCodeScanQrInner } from './QrCode' ; export default function ImportQrCode ( { onClose , isOpen , } ) { const tx = window . static_translate ; return ( < DeltaDialog className = 'delta-dialog' title = { tx ( 'qrscan_title' ) } isOpen = { isOpen } onClose = { onClose } showCloseButton = { false } > < QrCodeScanQrInner onClose = { onClose } /> < /DeltaDialog>); }