import { m as motion, Variants } from "framer-motion"; import shouldForwardProp from "@styled-system/should-forward-prop"; import { styled } from "styled-components"; import { background, border, layout, position, space, color } from "styled-system"; import { BoxProps } from "./types"; export { type AnimatePresence, type LazyMotion, domAnimation } from "framer-motion"; export type MotionVariants = Variants; export const MotionBox = styled(motion.div).withConfig({})` ${background} ${border} ${layout} ${position} ${space} `; const Box = styled.div.withConfig({ shouldForwardProp, })` ${background} ${border} ${layout} ${position} ${space} ${color} `; export default Box;