0

I am using Antd icons in my project. In another project, I was able to add font awesome icons using Unicode in the following way

node.append('text')
    .attr('font-family', 'FontAwesome')
    .attr('font-size', function(d) { return d.size+'em'} )
    .text(function(d) { return '\uf118' }); 

How can I achieve the same using Antd icons?

Sac
  • 35
  • 9

0 Answers0