@omniumretail/component-library 1.3.12 → 1.3.13
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.
|
@@ -24859,7 +24859,8 @@ const ResponsiveTable = (props) => {
|
|
|
24859
24859
|
cellSelectionStyle,
|
|
24860
24860
|
renderSelectedCell,
|
|
24861
24861
|
useOrderedCellSelection = true,
|
|
24862
|
-
initialSelectedCells
|
|
24862
|
+
initialSelectedCells,
|
|
24863
|
+
selectedCellColor
|
|
24863
24864
|
} = props;
|
|
24864
24865
|
const [customFilters, setCustomFilters] = useState([]);
|
|
24865
24866
|
const [customColumns, setCustomColumns] = useState([]);
|
|
@@ -25044,7 +25045,7 @@ const ResponsiveTable = (props) => {
|
|
|
25044
25045
|
if (!useOrderedCellSelection) {
|
|
25045
25046
|
const cellContent = (() => {
|
|
25046
25047
|
if (isSelected) {
|
|
25047
|
-
return /* @__PURE__ */ jsx(Tag, { color:
|
|
25048
|
+
return /* @__PURE__ */ jsx(Tag, { color: selectedCellColor, style: { margin: -4 }, children: "X" });
|
|
25048
25049
|
}
|
|
25049
25050
|
if (originalCellContent) {
|
|
25050
25051
|
return /* @__PURE__ */ jsx(Tag, { color: originalCellContent.color, style: { margin: -4 }, children: originalCellContent.type });
|