我们如何删除这个react工具提示的箭头并给它一个边框?
https://www.npmjs.com/package/react-tooltip
你可以通过覆盖工具提示css,试试这个
<span data-tip="hello" data-class="tool-tip"></span>
.tool-tip::before {
border-right: none !important;
}
或
.__react_component_tooltip::before,
.__react_component_tooltip::after {
content: none !important;
}