mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
5bf08faeea
* refactor: rename qrcode to qr-code * test: patch test case * chore: fix Form missing displayName * chore: patch displayName * chore: style path * chore: fix compile
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;
|