pure-svg-code
pure-svg-code copied to clipboard
showHRI doesn't work
Here is my code:
const svgString = barcode(original?.label?._id, 'code128', {
width: '50',
barWidth: 1,
barHeight: 20,
bgColor: '#ffffff',
showHRI: true
});
const url = svg2url(svgString);
<img src={url} alt="Barcode preview" />
And it looks like the space is reserved for HRI, but it is not displayed there. Is it a bug or what am I doing wrong?