我正在尝试使用它以粗体和下划线设置 React-Semantic-UI 下拉标题
<Dropdown text={<strong><ins>About</ins></strong>} simple item style={{ lineHeight: '0' }} >
有效(因此样式没问题)。 但控制台返回此警告
警告:失败的道具 react-refresh-runtime.development.js:39 警告:失败的道具类型:无效的道具
类型text
提供给object
,预期Dropdown
.string
warning is fixed 格式应该怎么设置?