Skip to content

Giving type Error for text property on Barcode component. #104

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

Open
Shafiulmizbah2 opened this issue Oct 13, 2024 · 0 comments
Open

Giving type Error for text property on Barcode component. #104

Shafiulmizbah2 opened this issue Oct 13, 2024 · 0 comments

Comments

@Shafiulmizbah2
Copy link

Shafiulmizbah2 commented Oct 13, 2024

When I am trying to change text under barcode using text property it gives typescript error due to the property is not defined on the types file.Though it is rendering text properly.It caused build failure on next js app.

Example code :
<Barcode text='This text is not added on the types' width={1.2} height={30} fontSize={13} value={barcode} />

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