catchup-library-web 1.4.5 → 1.4.6
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
|
@@ -6750,7 +6750,7 @@ var SelectionTabFill = ({
|
|
|
6750
6750
|
selectedId,
|
|
6751
6751
|
handleSelectOnClick
|
|
6752
6752
|
}) => {
|
|
6753
|
-
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6754
6754
|
"div",
|
|
6755
6755
|
{
|
|
6756
6756
|
className: "cursor-pointer",
|
|
@@ -6764,7 +6764,8 @@ var SelectionTabFill = ({
|
|
|
6764
6764
|
children: option.title
|
|
6765
6765
|
}
|
|
6766
6766
|
)
|
|
6767
|
-
}
|
|
6767
|
+
},
|
|
6768
|
+
index
|
|
6768
6769
|
)) });
|
|
6769
6770
|
};
|
|
6770
6771
|
var SelectionTabFill_default = SelectionTabFill;
|
package/dist/index.mjs
CHANGED
|
@@ -6560,7 +6560,7 @@ var SelectionTabFill = ({
|
|
|
6560
6560
|
selectedId,
|
|
6561
6561
|
handleSelectOnClick
|
|
6562
6562
|
}) => {
|
|
6563
|
-
return /* @__PURE__ */ jsx47("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option) => /* @__PURE__ */ jsx47(
|
|
6563
|
+
return /* @__PURE__ */ jsx47("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx47(
|
|
6564
6564
|
"div",
|
|
6565
6565
|
{
|
|
6566
6566
|
className: "cursor-pointer",
|
|
@@ -6574,7 +6574,8 @@ var SelectionTabFill = ({
|
|
|
6574
6574
|
children: option.title
|
|
6575
6575
|
}
|
|
6576
6576
|
)
|
|
6577
|
-
}
|
|
6577
|
+
},
|
|
6578
|
+
index
|
|
6578
6579
|
)) });
|
|
6579
6580
|
};
|
|
6580
6581
|
var SelectionTabFill_default = SelectionTabFill;
|
package/package.json
CHANGED
|
@@ -7,8 +7,9 @@ const SelectionTabFill = ({
|
|
|
7
7
|
}: ISelectionTabProps) => {
|
|
8
8
|
return (
|
|
9
9
|
<div className="w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center">
|
|
10
|
-
{optionList.map((option: any) => (
|
|
10
|
+
{optionList.map((option: any, index: number) => (
|
|
11
11
|
<div
|
|
12
|
+
key={index}
|
|
12
13
|
className="cursor-pointer"
|
|
13
14
|
onClick={() => {
|
|
14
15
|
handleSelectOnClick(option.id);
|