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