--- order: 6 title: zh-CN: 自动大小 en-US: autoSize --- ## zh-CN 自适应内容高度。 ## en-US Height autoSize. ```jsx import { Mentions } from 'antd'; const { Option } = Mentions; ReactDOM.render( , mountNode, ); ```