revdev-components 0.27.0 → 0.29.0

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.
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  interface Props {
3
3
  className?: string;
4
- submitText?: string;
4
+ children?: React.ReactNode;
5
5
  loading?: boolean;
6
6
  }
7
7
  export declare const FormButton: React.FC<Props>;
package/build/index.js CHANGED
@@ -4764,9 +4764,9 @@ var DivisionRow = function (_a) {
4764
4764
  var s$c = {"root":"index-module_root__xH-TN"};
4765
4765
 
4766
4766
  var FormButton = function (_a) {
4767
- var className = _a.className, _b = _a.submitText, submitText = _b === void 0 ? "Save" : _b, loading = _a.loading;
4767
+ var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading;
4768
4768
  return (React.createElement("div", { className: classNames(s$c.root, className) },
4769
- React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading }, submitText)));
4769
+ React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading }, children)));
4770
4770
  };
4771
4771
 
4772
4772
  var s$b = {"root":"index-module_root__Xj8zb"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {
@@ -58,6 +58,6 @@
58
58
  "sass": "^1.81.0",
59
59
  "storybook": "^8.4.5",
60
60
  "stylelint-config-varp": "^1.7.2",
61
- "typescript": "^5"
61
+ "typescript": "5.1"
62
62
  }
63
63
  }