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.
 
 

22 lines
523 B

import { Button, Popover, Space } from 'antd';
import React from 'react';
const content = (
<>
<p>Content</p>
<p>Content</p>
</>
);
const App: React.FC = () => (
<Space wrap>
<Popover placement="topLeft" title="Title" content={content}>
<Button>Align edge / </Button>
</Popover>
<Popover placement="topLeft" title="Title" content={content} arrowPointAtCenter>
<Button>Arrow points to center / </Button>
</Popover>
</Space>
);
export default App;