import React from "react";
import QRCode from "react-qr-code";

const QRCodeGenerator = ({url}:any) => {
  return (
    <div style={{display:'flex',justifyContent:'center'}} >
      <QRCode value={url} size={230} type='link' />
    </div>
  );
};

export default QRCodeGenerator;
