@snapdragonsnursery/react-components 1.1.37 → 1.1.38
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/package.json +1 -1
- package/src/ChildSearchPage.jsx +4 -13
package/package.json
CHANGED
package/src/ChildSearchPage.jsx
CHANGED
|
@@ -745,14 +745,9 @@ const ChildSearchPage = ({
|
|
|
745
745
|
{/* Pagination */}
|
|
746
746
|
{(pagination.totalCount > 0 || children.length > 0) && (
|
|
747
747
|
<div className="px-6 py-8 border-t border-gray-200 dark:border-gray-700" style={{ padding: '32px 24px' }}>
|
|
748
|
-
{/* Pagination
|
|
749
|
-
|
|
750
|
-
<div className="
|
|
751
|
-
Page {pagination.page} of {pagination.totalPages || 1}
|
|
752
|
-
</div>
|
|
753
|
-
|
|
754
|
-
{/* Pagination Controls */}
|
|
755
|
-
{(pagination.totalPages > 1 || children.length > 0) && (
|
|
748
|
+
{/* Pagination Controls */}
|
|
749
|
+
{(pagination.totalPages > 1 || children.length > 0) && (
|
|
750
|
+
<div className="flex justify-center">
|
|
756
751
|
<Pagination>
|
|
757
752
|
<PaginationContent>
|
|
758
753
|
<PaginationItem>
|
|
@@ -840,12 +835,8 @@ const ChildSearchPage = ({
|
|
|
840
835
|
</PaginationItem>
|
|
841
836
|
</PaginationContent>
|
|
842
837
|
</Pagination>
|
|
843
|
-
)}
|
|
844
|
-
|
|
845
|
-
<div className="text-sm text-gray-600 dark:text-gray-400">
|
|
846
|
-
{pagination.totalCount || children.length} total children
|
|
847
838
|
</div>
|
|
848
|
-
|
|
839
|
+
)}
|
|
849
840
|
</div>
|
|
850
841
|
)}
|
|
851
842
|
</>
|