ant-design/components/mentions/demo/render-panel.md
二货机器人 5cc54947a1
feat: Mentions support Pure Render (#36487)
* feat: Dropdown support PurePanel

* chore: clean up

* docs: init

* feat: Mentions PurePanel

* test: Update snapshot

* chore: clean up
2022-07-12 20:46:27 +08:00

644 B

order title debug
999
zh-CN en-US
_InternalPanelDoNotUseOrYouWillBeFired _InternalPanelDoNotUseOrYouWillBeFired
true

zh-CN

调试用组件,请勿直接使用。

en-US

Debug usage. Do not use in your production.

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;