UNPKG

react-jsbarcode

Version:
15 lines (12 loc) 451 B
import { Options } from 'jsbarcode'; import { CSSProperties } from 'react'; import { Renderer } from '../types/index.js'; interface ReactBarcodeProps { renderer?: Renderer; value: string; options?: Options; style?: CSSProperties; className?: string; } declare function ReactBarcode({ style, className, value, options, renderer, }: Readonly<ReactBarcodeProps>): React.JSX.Element; export { ReactBarcode, type ReactBarcodeProps };