Files
feishin/src/renderer/components/motion/index.tsx
T
Jeff c1330d92b2 Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration

* various design changes and improvements
2025-06-24 00:04:36 -07:00

14 lines
557 B
TypeScript

import { motion } from 'motion/react';
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 MotionFlex = motion.create<FlexProps>(Flex, { forwardMotionProps: true });
export const MotionGroup = motion.create<GroupProps>(Group, { forwardMotionProps: true });
export const MotionStack = motion.create<StackProps>(Stack, { forwardMotionProps: true });
export const MotionDiv = motion.div;