import { motion, MotionProps } from 'framer-motion'; import { Box, BoxProps, Button, ButtonProps, Flex, FlexProps, Stack, VStack, HStack, StackProps, Image, ImageProps, Text, TextProps } from '@chakra-ui/react'; import NextImage, { ImageProps as NextImageProps } from 'next/image'; import { SVGProps } from 'react'; export const MotionBox = motion< Omit & MotionProps >(Box as any); export const MotionFlex = motion< Omit & MotionProps >(Flex as any); export const MotionStack = motion< Omit & MotionProps >(Stack as any); export const MotionVStack = motion< Omit & MotionProps >(VStack as any); export const MotionHStack = motion< Omit & MotionProps >(HStack as any); export const MotionButton = motion< Omit & MotionProps >(Button as any); export const MotionImage = motion< Omit & MotionProps >(Image as any); export const MotionText = motion< Omit & MotionProps >(Text as any); export const MotionNextImage = motion< Omit & MotionProps >(NextImage as any);