mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
14 lines
311 B
TypeScript
14 lines
311 B
TypeScript
import React from 'react';
|
|
import { Button, Popover, QRCode } 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;
|