revdev-components 0.228.0 → 0.229.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,9 +1,11 @@
1
1
  import React from "react";
2
+ import { ButtonType } from "antd/es/button";
2
3
  interface Props {
3
4
  className?: string;
4
5
  children?: React.ReactNode;
5
6
  loading?: boolean;
6
7
  disabled?: boolean;
8
+ type?: ButtonType;
7
9
  }
8
10
  export declare const FormButton: React.FC<Props>;
9
11
  export {};
package/build/index.js CHANGED
@@ -5455,9 +5455,9 @@ var SwitchButtonField = function (props) {
5455
5455
  var s$r = {"root":"index-module_root__9GQDU"};
5456
5456
 
5457
5457
  var FormButton = function (_a) {
5458
- var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading, disabled = _a.disabled;
5458
+ var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading, disabled = _a.disabled, _c = _a.type, type = _c === void 0 ? "primary" : _c;
5459
5459
  return (React.createElement("div", { className: classNames(s$r.root, className) },
5460
- React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading, disabled: disabled }, children)));
5460
+ React.createElement(antd.Button, { htmlType: "submit", type: type, loading: loading, disabled: disabled }, children)));
5461
5461
  };
5462
5462
 
5463
5463
  var s$q = {"root":"index-module_root__C05Ty"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.228.0",
3
+ "version": "0.229.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {