import React , { CSSProperties } from 'react' ; import { QRLine } from 'react-qrbtf-temp' ; interface QRCodeProps { value : string ; style ? : CSSProperties ; } export const QRCode = ( props ) => { const { style = { width : 120 , height : 120 } , value = '' } = props ; return < QRLine value = { value } posType = "roundRect" direction = "h-v" styles = { { svg : style } } level = "Q" / > ; } ;