mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
816cf10524
* fix: update demo * Update components/qrcode/index.tsx Co-authored-by: MadCcc <1075746765@qq.com> * Update index.test.tsx Co-authored-by: MadCcc <1075746765@qq.com>
13 lines
258 B
TypeScript
13 lines
258 B
TypeScript
import React from 'react';
|
|
import { QRCode } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<QRCode
|
|
errorLevel="H"
|
|
value="https://ant.design/"
|
|
icon="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
|
|
/>
|
|
);
|
|
|
|
export default App;
|