mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +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,17 @@
|
||||
import { Group as MantineGroup, GroupProps as MantineGroupProps } from '@mantine/core';
|
||||
import { forwardRef } from 'react';
|
||||
|
||||
export interface GroupProps extends MantineGroupProps {}
|
||||
|
||||
export const Group = forwardRef<HTMLDivElement, GroupProps>(({ children, ...props }, ref) => {
|
||||
return (
|
||||
<MantineGroup
|
||||
classNames={{ ...props.classNames }}
|
||||
ref={ref}
|
||||
style={{ ...props.style }}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</MantineGroup>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user