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 types #80

Closed stesie closed 1 year ago

stesie commented 1 year ago

This component supports a prop named renderer, which allows to configure if the barcode shall be rendered using SVG, a HTML Canvas or an image. Furthermore the component exposes renderElementRef on its class.

Both were missing from TypeScript typings. This patch adds those.