@apexcura/ui-components 0.0.13-Beta81 → 0.0.13-Beta82

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.
package/dist/index.js CHANGED
@@ -892,9 +892,9 @@ var import_react27 = __toESM(require("react"));
892
892
  var import_antd20 = require("antd");
893
893
  var TabsElement = (props) => {
894
894
  console.log(props);
895
- const handleChange = (key) => {
895
+ const handleChange = (label) => {
896
896
  if (props.onChange) {
897
- props.onChange(props.options?.find((eachOption) => eachOption.key === key));
897
+ props.onChange(props.options?.find((eachOption) => eachOption.label === label));
898
898
  }
899
899
  };
900
900
  return /* @__PURE__ */ import_react27.default.createElement(
package/dist/index.mjs CHANGED
@@ -835,9 +835,9 @@ import React27 from "react";
835
835
  import { Tabs } from "antd";
836
836
  var TabsElement = (props) => {
837
837
  console.log(props);
838
- const handleChange = (key) => {
838
+ const handleChange = (label) => {
839
839
  if (props.onChange) {
840
- props.onChange(props.options?.find((eachOption) => eachOption.key === key));
840
+ props.onChange(props.options?.find((eachOption) => eachOption.label === label));
841
841
  }
842
842
  };
843
843
  return /* @__PURE__ */ React27.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta81",
3
+ "version": "0.0.13-Beta82",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",