optimized-react-component-library-xyz123 0.9.1 → 0.9.3

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.d.mts CHANGED
@@ -775,8 +775,8 @@ interface EditPreviewLinkProps {
775
775
  declare const EditPreviewLink: FC<EditPreviewLinkProps>;
776
776
 
777
777
  interface StartApplicationButtonProps {
778
+ globalLanguageState?: any;
778
779
  onClick: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
779
- label?: string;
780
780
  className?: string;
781
781
  }
782
782
  /**
package/dist/index.d.ts CHANGED
@@ -775,8 +775,8 @@ interface EditPreviewLinkProps {
775
775
  declare const EditPreviewLink: FC<EditPreviewLinkProps>;
776
776
 
777
777
  interface StartApplicationButtonProps {
778
+ globalLanguageState?: any;
778
779
  onClick: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
779
- label?: string;
780
780
  className?: string;
781
781
  }
782
782
  /**
package/dist/index.js CHANGED
@@ -2928,8 +2928,8 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
2928
2928
  // src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
2929
2929
  var import_jsx_runtime25 = require("react/jsx-runtime");
2930
2930
  var StartApplicationButton = ({
2931
+ globalLanguageState,
2931
2932
  onClick,
2932
- label = "Starta e-tj\xE4nsten",
2933
2933
  className = ""
2934
2934
  }) => {
2935
2935
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
@@ -2938,7 +2938,7 @@ var StartApplicationButton = ({
2938
2938
  type: "button",
2939
2939
  className: `pts-forwardButton pts-start-applicationButton ${className}`,
2940
2940
  onClick,
2941
- children: label
2941
+ children: globalLanguageState && globalLanguageState.startButton ? globalLanguageState.startButton : ">>"
2942
2942
  }
2943
2943
  );
2944
2944
  };