Add base motion containers
This commit is contained in:
parent
9841fa3c63
commit
e94783820e
2 changed files with 11 additions and 0 deletions
|
@ -29,3 +29,4 @@ export * from './toast';
|
|||
export * from './tooltip';
|
||||
export * from './virtual-grid';
|
||||
export * from './virtual-table';
|
||||
export * from './motion';
|
||||
|
|
10
src/renderer/components/motion/index.tsx
Normal file
10
src/renderer/components/motion/index.tsx
Normal 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;
|
Reference in a new issue