0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Added Pagination component to Table component

refs https://github.com/TryGhost/Product/issues/3822
This commit is contained in:
Djordje Vlaisavljevic 2023-09-07 14:59:56 +01:00
parent f6c5f0394a
commit 2b248c1f5a

View file

@ -1,5 +1,6 @@
import Heading from './Heading';
import Hint from './Hint';
import Pagination from './Pagination';
import React from 'react';
import Separator from './Separator';
import clsx from 'clsx';
@ -44,6 +45,7 @@ const Table: React.FC<TableProps> = ({children, borderTop, hint, hintSeparator,
</button>
<button type="button"><Icon colorClass="text-green" name='chevron-right' size="xs" /></button>
</div> */}
<Pagination itemsPerPage={5} itemsTotal={15}/>
</div>
</div>}
</div>