mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-26 22:31:46 +08:00

* feat: Dropdown support PurePanel * chore: clean up * docs: init * feat: Mentions PurePanel * test: Update snapshot * chore: clean up
34 lines
644 B
Markdown
34 lines
644 B
Markdown
---
|
|
order: 999
|
|
title:
|
|
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired
|
|
en-US: _InternalPanelDoNotUseOrYouWillBeFired
|
|
debug: true
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
调试用组件,请勿直接使用。
|
|
|
|
## en-US
|
|
|
|
Debug usage. Do not use in your production.
|
|
|
|
```tsx
|
|
import { Mentions } from 'antd';
|
|
import React from 'react';
|
|
|
|
const { Option } = Mentions;
|
|
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalMentions } = Mentions;
|
|
|
|
const App: React.FC = () => (
|
|
<InternalMentions style={{ width: '100%' }} value="@">
|
|
<Option value="afc163">afc163</Option>
|
|
<Option value="zombieJ">zombieJ</Option>
|
|
</InternalMentions>
|
|
);
|
|
|
|
export default App;
|
|
```
|