@g4rcez/components 0.0.21 → 0.0.22

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.
@@ -54,7 +54,7 @@ const Pagination = (pagination) => {
54
54
  const pageNavigation = useMemo(() => createPaginationItems(pagination.current, pagination.pages), [pagination.current, pagination.pages]);
55
55
  const hasNext = pagination.current < pagination.pages;
56
56
  return _jsxs("footer", { className: "flex px-1 py-2 items-center justify-between flex-nowrap", children: [_jsxs("p", { children: [pagination.current, " to ", pagination.pages, " of ", pagination.totalItems, " items.", pagination.onChangeSize && Array.isArray(pagination.sizes) ?
57
- _jsxs(Fragment, { children: [_jsx("select", { className: "cursor-pointer", onChange: e => {
57
+ _jsxs(Fragment, { children: [_jsx("select", { value: pagination.size, className: "cursor-pointer", onChange: e => {
58
58
  var _a;
59
59
  (_a = pagination.onChangeSize) === null || _a === void 0 ? void 0 : _a.call(pagination, Number(e.target.value));
60
60
  }, children: pagination.sizes.map(value => _jsx("option", { value: value, children: value })) }), " per page"] })