mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +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;
|