@hw-component/form 0.0.2-beta-v3 → 0.0.2-beta-v4

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.
@@ -72,7 +72,10 @@ var Index = function Index(_ref) {
72
72
  })), /*#__PURE__*/React.createElement(Button, _extends({}, oProps, {
73
73
  type: type,
74
74
  onClick: click,
75
- loading: loading
75
+ loading: loading,
76
+ style: {
77
+ marginLeft: 4
78
+ }
76
79
  }), children));
77
80
  };
78
81
 
@@ -75,7 +75,10 @@ var Index = function Index(_ref) {
75
75
  })), /*#__PURE__*/React.createElement(antd.Button, _extends({}, oProps, {
76
76
  type: type,
77
77
  onClick: click,
78
- loading: loading
78
+ loading: loading,
79
+ style: {
80
+ marginLeft: 4
81
+ }
79
82
  }), children));
80
83
  };
81
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "0.0.2-beta-v3",
3
+ "version": "0.0.2-beta-v4",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@ const Index: React.FC<HButtonInputProps> = ({
32
32
  return (
33
33
  <Input.Group compact style={{ display: "flex" }}>
34
34
  <Input {...props} style={{ flex: 1 }} value={value} onChange={change} />
35
- <Button {...oProps} type={type} onClick={click} loading={loading}>
35
+ <Button {...oProps} type={type} onClick={click} loading={loading} style={{marginLeft:4}}>
36
36
  {children}
37
37
  </Button>
38
38
  </Input.Group>