Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showHRI doesn't work #4

Open
kolyasya opened this issue Sep 11, 2020 · 0 comments
Open

showHRI doesn't work #4

kolyasya opened this issue Sep 11, 2020 · 0 comments

Comments

@kolyasya
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant