mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration * various design changes and improvements
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import {
|
||||
Pagination as MantinePagination,
|
||||
PaginationProps as MantinePaginationProps,
|
||||
} from '@mantine/core';
|
||||
|
||||
import styles from './pagination.module.css';
|
||||
|
||||
interface PaginationProps extends MantinePaginationProps {}
|
||||
|
||||
export const Pagination = ({ classNames, style, ...props }: PaginationProps) => {
|
||||
return (
|
||||
<MantinePagination
|
||||
classNames={{
|
||||
control: styles.control,
|
||||
...classNames,
|
||||
}}
|
||||
radius="xl"
|
||||
style={{
|
||||
...style,
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user