handling euro on save function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
734bee3f3d
commit
b1a0d40337
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '3ad2b4471688e95eacb1');
|
||||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '351e9c22feb35c2c9e7e');
|
||||
|
|
|
|||
|
|
@ -980,6 +980,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _img_icon_search_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./img/icon_search.svg */ "./src/img/icon_search.svg");
|
||||
/* harmony import */ var _img_icon_info_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./img/icon_info.svg */ "./src/img/icon_info.svg");
|
||||
/* harmony import */ var _img_icon_tip_svg__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./img/icon_tip.svg */ "./src/img/icon_tip.svg");
|
||||
/* harmony import */ var _img_icon_euro_svg__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./img/icon_euro.svg */ "./src/img/icon_euro.svg");
|
||||
|
||||
|
||||
|
||||
|
|
@ -995,6 +996,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
|
||||
|
||||
|
||||
function save({
|
||||
attributes
|
||||
}) {
|
||||
|
|
@ -1031,6 +1033,8 @@ function save({
|
|||
return _img_icon_search_svg__WEBPACK_IMPORTED_MODULE_12__["default"];
|
||||
case "info":
|
||||
return _img_icon_info_svg__WEBPACK_IMPORTED_MODULE_13__["default"];
|
||||
case "euro":
|
||||
return _img_icon_euro_svg__WEBPACK_IMPORTED_MODULE_15__["default"];
|
||||
case "tip":
|
||||
return _img_icon_tip_svg__WEBPACK_IMPORTED_MODULE_14__["default"];
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -12,6 +12,7 @@ import searchIcon from "./img/icon_search.svg";
|
|||
import infoIcon from "./img/icon_info.svg";
|
||||
import tipIcon from "./img/icon_tip.svg";
|
||||
import euroIcon from "./img/icon_euro.svg";
|
||||
|
||||
import {
|
||||
RichText,
|
||||
useBlockProps,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import notificationIcon from "./img/icon_notification.svg";
|
|||
import searchIcon from "./img/icon_search.svg";
|
||||
import infoIcon from "./img/icon_info.svg";
|
||||
import tipIcon from "./img/icon_tip.svg";
|
||||
import euroIcon from "./img/icon_euro.svg";
|
||||
|
||||
export default function save({ attributes }) {
|
||||
const {
|
||||
|
|
@ -53,8 +54,13 @@ export default function save({ attributes }) {
|
|||
|
||||
case "search":
|
||||
return searchIcon;
|
||||
|
||||
case "info":
|
||||
return infoIcon;
|
||||
|
||||
case "euro":
|
||||
return euroIcon;
|
||||
|
||||
case "tip":
|
||||
return tipIcon;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user