mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
16 lines
392 B
TypeScript
16 lines
392 B
TypeScript
|
import React from 'react';
|
||
|
import { Mentions } from 'antd';
|
||
|
|
||
|
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;
|