ant-design/components/qr-code/demo/Popover.tsx
叶枫 502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00

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;