--- order: 4 title: zh-CN: 定制回填内容 en-US: Custom selection render --- ## zh-CN 使用 `optionLabelProp` 指定回填到选择框的 `Option` 属性。 ## en-US Specify the prop name of Option which will be rendered in select box. ```tsx import { Select } from 'antd'; import React from 'react'; const { Option } = Select; const handleChange = (value: string[]) => { console.log(`selected ${value}`); }; const App: React.FC = () => ( ); export default App; ``` ```css .demo-option-label-item > span { margin-right: 6px; } ```