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