Refactored icons.
This commit is contained in:
1 parent
18eceee4c4
commit
99330a1a4d
86 files changed
+310
-273
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { Button, Icon, Icons, Row, Text } from '@umami/react-zen';
|
||||
import { Button, Icon, Row, Text } from '@umami/react-zen';
|
||||
import { useMessages } from '@/components/hooks';
|
||||
import { Chevron } from '@/components/icons';
|
||||
|
||||
export interface PagerProps {
|
||||
page: string | number;
|
||||
@@ -38,12 +39,12 @@ export function Pager({ page, pageSize, count, onPageChange }: PagerProps) {
|
||||
<Text>{formatMessage(labels.pageOf, { current: page, total: maxPage })}</Text>
|
||||
<Button onPress={() => handlePageChange(-1)} isDisabled={firstPage}>
|
||||
<Icon size="sm" rotate={180}>
|
||||
<Icons.Chevron />
|
||||
<Chevron />
|
||||
</Icon>
|
||||
</Button>
|
||||
<Button onPress={() => handlePageChange(1)} isDisabled={lastPage}>
|
||||
<Icon size="sm">
|
||||
<Icons.Chevron />
|
||||
<Chevron />
|
||||
</Icon>
|
||||
</Button>
|
||||
</Row>
|
||||
|
||||
Reference in new issue
Block a user