@ctlyst.id/internal-ui 2.0.19 → 2.0.21

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,
@@ -3339,16 +3340,18 @@ const Tab = /*#__PURE__*/forwardRef$1((props, ref) => {
3339
3340
  })));
3340
3341
  });
3341
3342
 
3342
- const TabList = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabList$1, {
3343
+ const TabList = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabList$1, Object.assign({
3343
3344
  borderBottom: "1px solid",
3344
- borderColor: useColorModeValue('gray.200', 'bright-gray.800'),
3345
+ borderColor: useColorModeValue('gray.200', 'bright-gray.800')
3346
+ }, props, {
3345
3347
  ref: ref
3346
- }, props.children));
3348
+ }), props.children));
3347
3349
 
3348
- const TabPanel = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabPanel$1, {
3349
- px: 0,
3350
+ const TabPanel = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabPanel$1, Object.assign({
3351
+ px: 0
3352
+ }, props, {
3350
3353
  ref: ref
3351
- }, props.children));
3354
+ }), props.children));
3352
3355
 
3353
3356
  const messages = {
3354
3357
  dragActive: 'Drop file disini...',