We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a88f315 commit b16c4bfCopy full SHA for b16c4bf
packages/frontend/src/components/EditorLayout/AnnouncementModal/MotionBox.tsx
@@ -1,7 +1,5 @@
1
-import { FC } from 'react'
2
-import { Box, BoxProps } from '@chakra-ui/react'
3
-import { HTMLMotionProps, motion } from 'framer-motion'
4
-import { Merge } from 'type-fest'
+import { Box } from '@chakra-ui/react'
+import { motion } from 'framer-motion'
5
6
-export type MotionBoxProps = Merge<BoxProps, HTMLMotionProps<'div'>>
7
-export const MotionBox = motion(Box) as FC<MotionBoxProps>
+const MotionBoxComponent = motion(Box)
+export const MotionBox = MotionBoxComponent
0 commit comments