UNPKG

taro-code

Version:

Taro.js barcode & qrcode, Image & Canvas

17 lines (16 loc) 509 B
import React, { CSSProperties } from 'react'; import { CommonImageProps } from '../../common/types/image'; export interface BarcodeProps extends CommonImageProps { className?: string; text: string; scale?: number; width?: number; height?: number; style?: CSSProperties; foregroundColor?: string; backgroundColor?: string; } declare const Barcode: React.ForwardRefExoticComponent<Omit<BarcodeProps, "ref"> & React.RefAttributes<{ image: string; }>>; export default Barcode;