px-react-ui-components 1.1.22 → 1.1.23

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.
@@ -56,7 +56,8 @@ function MyFileUpload({
56
56
  classNameItem = null,
57
57
  classNameIcon = null,
58
58
  classNameButton = null,
59
- classNameModal = null
59
+ classNameModal = null,
60
+ classNameButtonIcon = null
60
61
  }) {
61
62
  const localT = typeof t === "function" ? t : key => key;
62
63
  const [loading, setLoading] = (0, _react.useState)(false);
@@ -271,7 +272,9 @@ function MyFileUpload({
271
272
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
272
273
  className: _MyFileUploadModule.default.myFileUploadButton + (classNameButton != null ? " " + classNameButton : ''),
273
274
  onClick: () => fileInputRef.current.click(),
274
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_md.MdOutlineAttachFile, {})
275
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_md.MdOutlineAttachFile, {
276
+ className: +(classNameButtonIcon != null ? " " + classNameButtonIcon : '')
277
+ })
275
278
  })]
276
279
  })]
277
280
  }), camera && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
@@ -292,7 +295,9 @@ function MyFileUpload({
292
295
  type: "button",
293
296
  className: _MyFileUploadModule.default.myFileUploadButton + (classNameButton != null ? " " + classNameButton : ''),
294
297
  onClick: () => setCameraopen(true),
295
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pi.PiCamera, {})
298
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pi.PiCamera, {
299
+ className: +(classNameButtonIcon != null ? " " + classNameButtonIcon : '')
300
+ })
296
301
  })
297
302
  })]
298
303
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "px-react-ui-components",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "commonjs",