mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-27 12:56:31 +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 { Stack as MantineStack, StackProps as MantineStackProps } from '@mantine/core';
|
||||
import { forwardRef } from 'react';
|
||||
|
||||
export interface StackProps extends MantineStackProps {}
|
||||
|
||||
export const Stack = forwardRef<HTMLDivElement, StackProps>(({ children, ...props }, ref) => {
|
||||
return (
|
||||
<MantineStack
|
||||
classNames={{ ...props.classNames }}
|
||||
ref={ref}
|
||||
style={{ ...props.style }}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</MantineStack>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user