mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): workflow library pagination button styles
This commit is contained in:
parent
3d57c14bb3
commit
11085783ef
@ -59,6 +59,7 @@ const WorkflowLibraryPagination = ({ page, setPage, data }: Props) => {
|
||||
return (
|
||||
<ButtonGroup>
|
||||
<IAIIconButton
|
||||
variant="ghost"
|
||||
onClick={handlePrevPage}
|
||||
isDisabled={page === 0}
|
||||
aria-label={t('common.prevPage')}
|
||||
@ -76,6 +77,7 @@ const WorkflowLibraryPagination = ({ page, setPage, data }: Props) => {
|
||||
</IAIButton>
|
||||
))}
|
||||
<IAIIconButton
|
||||
variant="ghost"
|
||||
onClick={handleNextPage}
|
||||
isDisabled={page === data.pages - 1}
|
||||
aria-label={t('common.nextPage')}
|
||||
|
Loading…
Reference in New Issue
Block a user