kciter / react-barcode

A <Barcode/> component for use with React.
http://kciter.github.io/react-barcode/
ISC License
396 stars 72 forks source link

Add missing "id" and "className" to the component type definition #99

Open Eerosal opened 3 months ago

Eerosal commented 3 months ago

It seems that the properties className and id are missing from the component property type definition. They seem to be supported and work with ts-ignore, but without it there will of course be an error.

This change adds type entries for the missing properties and should fix the issue.