mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
14 lines
311 B
TypeScript
14 lines
311 B
TypeScript
import React from 'react';
|
|
import { QRCode, Popover, Button } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Popover
|
|
overlayInnerStyle={{ padding: 0 }}
|
|
content={<QRCode value="https://ant.design" bordered={false} />}
|
|
>
|
|
<Button type="primary">Hover me</Button>
|
|
</Popover>
|
|
);
|
|
|
|
export default App;
|