mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
add basic mobile responsive layout
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Drawer as MantineDrawer, DrawerProps as MantineDrawerProps } from '@mantine/core';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
interface DrawerProps extends MantineDrawerProps {
|
||||
children?: ReactNode;
|
||||
}
|
||||
|
||||
export const Drawer = ({ children, ...props }: DrawerProps) => {
|
||||
return <MantineDrawer {...props}>{children}</MantineDrawer>;
|
||||
};
|
||||
Reference in New Issue
Block a user