mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 15:49:10 +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;
|