mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
2c3ad833f1
* feat: Popver shadow * test: Update snapshot * chore: clean up
718 B
718 B
order | title | debug | ||||
---|---|---|---|---|---|---|
999 |
|
true |
zh-CN
调试用组件,请勿直接使用。
en-US
Debug usage. Do not use in your production.
import { Popover } from 'antd';
import React from 'react';
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPopover } = Popover;
const content = (
<div>
<p>Content</p>
<p>Content</p>
</div>
);
const App: React.FC = () => (
<>
<InternalPopover content={content} title="Title" />
<InternalPopover
content={content}
title="Title"
placement="bottomLeft"
style={{ width: 250 }}
/>
</>
);
export default App;