Skip to main content

QRCode

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️component's className
styleobjectcomponent style
textstringtext information converted to QR code
type'text' | 'internalUrl'Type of QR code
titlestringQR code title
descriptionstringQR code description information
widthnumberwidth of QR code
heightnumberheight of QR code
QRProps{ margin: number, width: number }

All the remaining componentsProps will be passed to the component root element (canvas).

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementComponent root DOM element