pds-dev-kit-web-test 2.7.201 → 2.7.202
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.
@@ -146,8 +146,7 @@ function ContentsList(props) {
|
|
146
146
|
var renderElements = function (component) {
|
147
147
|
switch (component.type) {
|
148
148
|
case 'PAGINATION':
|
149
|
-
return ((0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { styles: isHovered
|
150
|
-
? __assign(__assign({}, paginationHoverStyle), { primaryColor: '#ff0000ff', secondaryColor: '#0000ffff' }) : __assign(__assign({}, paginationNormalStyle), { primaryColor: '#ff0000ff', secondaryColor: '#0000ffff' }), current: currentPage, total: totalPage, onPageClick: handlePageClick }));
|
149
|
+
return ((0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { styles: isHovered ? paginationHoverStyle : paginationNormalStyle, current: currentPage, total: totalPage, onPageClick: handlePageClick }));
|
151
150
|
default:
|
152
151
|
return null;
|
153
152
|
}
|