mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
15 lines
340 B
TypeScript
15 lines
340 B
TypeScript
|
import React from 'react';
|
||
|
import { Mentions } from 'antd';
|
||
|
|
||
|
const { Option } = Mentions;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Mentions autoSize style={{ width: '100%' }}>
|
||
|
<Option value="afc163">afc163</Option>
|
||
|
<Option value="zombieJ">zombieJ</Option>
|
||
|
<Option value="yesmeck">yesmeck</Option>
|
||
|
</Mentions>
|
||
|
);
|
||
|
|
||
|
export default App;
|