Skip to content

Commit

Permalink
Cleanup props for pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Feb 18, 2024
1 parent 01edf39 commit f238afb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/src/app/Components/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export default function Pagination(props: PaginationProps) {
size="sm"
color={selected ? 'primary' : 'neutral'}
variant={selected ? 'solid' : 'plain'}
sx={{ lineHeight: 'sm' }}
disabled={page === null || disabled}
disabled={disabled}
{...props}
key={key}
>
Expand All @@ -31,8 +30,7 @@ export default function Pagination(props: PaginationProps) {
size="sm"
color={selected ? 'primary' : 'neutral'}
variant={selected ? 'solid' : 'plain'}
sx={{ lineHeight: 'sm' }}
disabled={page === null || disabled}
disabled={disabled}
startDecorator={<Amicon icon={aiArrowLeft} />}
{...props}
key={key}
Expand All @@ -46,8 +44,7 @@ export default function Pagination(props: PaginationProps) {
size="sm"
color={selected ? 'primary' : 'neutral'}
variant={selected ? 'solid' : 'plain'}
sx={{ lineHeight: 'sm' }}
disabled={page === null || disabled}
disabled={disabled}
endDecorator={<Amicon icon={aiArrowRight} />}
{...props}
key={key}
Expand All @@ -62,8 +59,7 @@ export default function Pagination(props: PaginationProps) {
size="sm"
color={selected ? 'primary' : 'neutral'}
variant={selected ? 'solid' : 'plain'}
sx={{ lineHeight: 'sm' }}
disabled={page === null || disabled}
disabled={disabled}
{...props}
key={key}
>
Expand Down

0 comments on commit f238afb

Please sign in to comment.