Currently, I have an icon displaying like this:
import { Icon } from "antd";
...
// within a react component:
<div className="someclass">
<Icon type="thunderbolt" />
</div>
What I really aim to achieve is to use CSS to display the icon, like so:
div.someclass::before {
content: "\E6EA"; // imagine this is the correct thunderbolt icon code
}
I'm wondering if icons in antd
are not using a font but rather direct SVG. Does this mean that inserting icons with CSS is not possible with antd
?