Add base motion containers

This commit is contained in:
jeffvli 2022-12-26 16:43:37 -08:00
parent 9841fa3c63
commit e94783820e
2 changed files with 11 additions and 0 deletions

View file

@ -29,3 +29,4 @@ export * from './toast';
export * from './tooltip';
export * from './virtual-grid';
export * from './virtual-table';
export * from './motion';

View file

@ -0,0 +1,10 @@
import { Flex, Group, Stack } from '@mantine/core';
import { motion } from 'framer-motion';
export const MotionFlex = motion(Flex);
export const MotionGroup = motion(Group);
export const MotionStack = motion(Stack);
export const MotionDiv = motion.div;