import React, { useState } from 'react'; import type { QRCodeProps } from 'antd'; import { Segmented, QRCode } from 'antd'; const App: React.FC = () => { const [level, setLevel] = useState('L'); return ( <> ); }; export default App;