You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
301 B
18 lines
301 B
2 years ago
|
import { Button, Popover } from 'antd';
|
||
|
import React from 'react';
|
||
|
|
||
|
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;
|