@movalib/movalib-commons 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/QRCode.js +2 -2
- package/package.json +1 -1
- package/src/QRCode.tsx +2 -2
package/dist/src/QRCode.js
CHANGED
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
18
|
var react_1 = require("react");
|
|
19
|
-
var leaf_yellow_small_png_1 = __importDefault(require("
|
|
20
|
-
var qr_code_styling_1 = __importDefault(require("qr-code-styling"));
|
|
19
|
+
var leaf_yellow_small_png_1 = __importDefault(require("./assets/images/leaf_yellow_small.png"));
|
|
21
20
|
var material_1 = require("@mui/material");
|
|
21
|
+
var qr_code_styling_1 = __importDefault(require("qr-code-styling"));
|
|
22
22
|
var styles = {
|
|
23
23
|
inputWrapper: {
|
|
24
24
|
margin: "20px 0",
|
package/package.json
CHANGED
package/src/QRCode.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useState, type FC, useRef, useEffect, ChangeEvent } from 'react';
|
|
2
|
-
import QRCodeImage from "
|
|
2
|
+
import QRCodeImage from "./assets/images/leaf_yellow_small.png";
|
|
3
|
+
import { Box, Button, darken, useTheme } from '@mui/material';
|
|
3
4
|
import QRCodeStyling, {
|
|
4
5
|
DrawType,
|
|
5
6
|
TypeNumber,
|
|
@@ -11,7 +12,6 @@ import QRCodeStyling, {
|
|
|
11
12
|
Extension,
|
|
12
13
|
Options
|
|
13
14
|
} from "qr-code-styling";
|
|
14
|
-
import { Box, Button, darken, useTheme } from '@mui/material';
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
interface QRCodeProps {
|