No Results Found
This component is a component that will render a QR code of the value provided.
<tk-qr-code value="https://www.google.com" alt="Google page"></tk-qr-code>
Use the value
prop to generate the qr code.
<tk-qr-code value="https://www.google.com" alt="Google page" size="250"></tk-qr-code>
Use the size
prop to change the size of the qr code.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
alt (required) |
alt |
Alternative text for image. | string |
undefined |
size |
size |
Size (in pixels) of the qr code. | number |
100 |
value (required) |
value |
Value to be encoded within the qr code. | string |
undefined |