@ctlyst.id/internal-ui 2.0.19 → 2.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -132,7 +132,7 @@ const Loader = /*#__PURE__*/forwardRef$1((props, ref) => {
132
132
  });
133
133
  });
134
134
 
135
- const Button = props => {
135
+ const Button = /*#__PURE__*/forwardRef$1((props, ref) => {
136
136
  const {
137
137
  children,
138
138
  variant,
@@ -155,9 +155,10 @@ const Button = props => {
155
155
  spinner: /*#__PURE__*/React__default.createElement(Loader, {
156
156
  size: getLoaderSize(),
157
157
  color: getLoaderColor()
158
- })
158
+ }),
159
+ ref: ref
159
160
  }, rest), children);
160
- };
161
+ });
161
162
 
162
163
  function AlertAction({
163
164
  children,