mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +08:00
18 lines
301 B
TypeScript
18 lines
301 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Popover } from 'antd';
|
||
|
|
||
|
const content = (
|
||
|
<div>
|
||
|
<p>Content</p>
|
||
|
<p>Content</p>
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Popover content={content} title="Title">
|
||
|
<Button type="primary">Hover me</Button>
|
||
|
</Popover>
|
||
|
);
|
||
|
|
||
|
export default App;
|