How to use font awsome in custom bpmn-js rendere ??
my code ::
function drawRect(parentNode, width, height, borderRadius, strokeColor,className) {
const rect = svgCreate(‘rect’);
svgAttr(rect, {
width: width,
height: height,
rx: borderRadius,
ry: borderRadius,
stroke: strokeColor || ‘#000’,
strokeWidth: 2,
// fill: ‘#fff’
content:"\f304" // font
});
svgAppend(parentNode, rect);
svgClasses(rect).add(className);
return rect;
}