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:
@@ -1,10 +1,13 @@
|
||||
import { Flex, Group, Stack } from '@mantine/core';
|
||||
import { motion } from 'framer-motion';
|
||||
import { motion } from 'motion/react';
|
||||
|
||||
export const MotionFlex = motion(Flex);
|
||||
import { Flex, FlexProps } from '/@/shared/components/flex/flex';
|
||||
import { Group, GroupProps } from '/@/shared/components/group/group';
|
||||
import { Stack, StackProps } from '/@/shared/components/stack/stack';
|
||||
|
||||
export const MotionGroup = motion(Group);
|
||||
export const MotionFlex = motion.create<FlexProps>(Flex, { forwardMotionProps: true });
|
||||
|
||||
export const MotionStack = motion(Stack);
|
||||
export const MotionGroup = motion.create<GroupProps>(Group, { forwardMotionProps: true });
|
||||
|
||||
export const MotionStack = motion.create<StackProps>(Stack, { forwardMotionProps: true });
|
||||
|
||||
export const MotionDiv = motion.div;
|
||||
|
||||
Reference in New Issue
Block a user