mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
d9f052d5cd
* demo: rm overlayInnerStyle * demo: rm overlayInnerStyle
11 lines
265 B
TypeScript
11 lines
265 B
TypeScript
import React from 'react';
|
|
import { Button, Popover, QRCode } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Popover content={<QRCode value="https://ant.design" bordered={false} />}>
|
|
<Button type="primary">Hover me</Button>
|
|
</Popover>
|
|
);
|
|
|
|
export default App;
|