react-cron-generator 2.0.7 → 2.0.8

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/build/index.js CHANGED
@@ -7536,18 +7536,4 @@ const Cron = (props) => {
7536
7536
  };
7537
7537
 
7538
7538
  export { HEADER, Cron as default };
7539
- //# sourceMappingURL=index.js.map
7540
-
7541
- translatedText = props.translateFn(key);
7542
- if (typeof translatedText !== 'string') {
7543
- throw new Error('translateFn expects a string translation');
7544
- }
7545
- }
7546
- return translatedText;
7547
- };
7548
- return (jsxRuntime.jsxs("div", Object.assign({ className: 'cron_builder' }, { children: [jsxRuntime.jsx("ul", Object.assign({ className: "nav nav-tabs" }, { children: getHeaders() })), jsxRuntime.jsx("div", Object.assign({ className: "cron_builder_bordering" }, { children: state.selectedTab ? getComponent(state.selectedTab) : "Select a header" })), props.showResultText && jsxRuntime.jsx("div", Object.assign({ className: "cron-builder-bg" }, { children: getVal() })), props.showResultCron && jsxRuntime.jsx("div", Object.assign({ className: "cron-builder-bg" }, { children: state.value.toString().replace(/,/g, ' ').replace(/!/g, ',') }))] })));
7549
- };
7550
-
7551
- exports.HEADER = HEADER;
7552
- exports["default"] = Cron;
7553
7539
  //# sourceMappingURL=index.js.map