mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 01:21:46 +08:00
502 B
502 B
order | title | ||||
---|---|---|---|---|---|
5 |
|
zh-CN
向上展开建议。
en-US
Change the suggestions placement.
import { Mentions } from 'antd';
import React from 'react';
const { Option } = Mentions;
const App: React.FC = () => (
<Mentions style={{ width: '100%' }} placement="top">
<Option value="afc163">afc163</Option>
<Option value="zombieJ">zombieJ</Option>
<Option value="yesmeck">yesmeck</Option>
</Mentions>
);
export default App;