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