indicator-ui 0.0.176 → 0.0.178
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/index.js
CHANGED
|
@@ -13841,7 +13841,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13841
13841
|
|
|
13842
13842
|
function UserPick({ size = '20', url, additionStyles }) {
|
|
13843
13843
|
const style = { width: `${size}px`, height: `${size}px` };
|
|
13844
|
-
if (url
|
|
13844
|
+
if (!url) {
|
|
13845
13845
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.UserPickStyle.userPickPlaceholder, additionStyles), style: style, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_assets__WEBPACK_IMPORTED_MODULE_3__.PlaceholderSVG, {}) });
|
|
13846
13846
|
}
|
|
13847
13847
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", { src: url, alt: '', className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.UserPickStyle.userPick, additionStyles), style: style });
|