mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
67ee019478
* feat: reset and force update * feat: update package * feat: reset * feat: update for viewer * feat: update for viewer * feat: update for viewer * feat: update for viewer * feat: update for viewer * update doc * feat: add waring * feat: update doc * feat: add test case
26 lines
409 B
TypeScript
26 lines
409 B
TypeScript
import React from 'react';
|
|
import { Mentions } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Mentions
|
|
style={{ width: '100%' }}
|
|
placement="top"
|
|
options={[
|
|
{
|
|
value: 'afc163',
|
|
label: 'afc163',
|
|
},
|
|
{
|
|
value: 'zombieJ',
|
|
label: 'zombieJ',
|
|
},
|
|
{
|
|
value: 'yesmeck',
|
|
label: 'yesmeck',
|
|
},
|
|
]}
|
|
/>
|
|
);
|
|
|
|
export default App;
|