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