mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Add base motion containers
This commit is contained in:
@@ -29,3 +29,4 @@ export * from './toast';
|
||||
export * from './tooltip';
|
||||
export * from './virtual-grid';
|
||||
export * from './virtual-table';
|
||||
export * from './motion';
|
||||
|
||||
@@ -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 New Issue
Block a user