reactjs - 使用带有 react-select v2 的 Font Awesome 图标?
问题描述
使用:https ://react-select.com/home我一直在尝试以下想法的变体:
const hex = 'f2bc';
const char = unescape('%u' + hex);
<Select
defaultValue={ label: char, value: 'some-value'}
...={...}/>
这是上述尝试的结果: