pure-svg-code icon indicating copy to clipboard operation
pure-svg-code copied to clipboard

showHRI doesn't work

Open kolyasya opened this issue 4 years ago • 0 comments

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?

image

kolyasya avatar Sep 11 '20 12:09 kolyasya