@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.
- package/dist/components/button/components/button.d.ts +1 -1
- package/dist/internal-ui.cjs.development.js +4 -3
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +1 -1
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +4 -3
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/internal-ui.esm.js
CHANGED
@@ -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,
|