import { Flex, Padding, Text } from '@/@dble_layout'; import { CardContainer } from '@/@widgets/card/CardContainer'; import { MotionDiv } from '@/@widgets/motion/MotionDiv'; import dynamic from 'next/dynamic'; import React, { forwardRef, useRef } from 'react'; type Types = { title: string; description: string; children: React.ReactNode; delay?: number; }; const WWidgetContainerComponent = forwardRef((props, ref) => { const motionRef = useRef(null); const currentRef = ref || motionRef; return ( {props.title} {props.description} {props.children} ); }); const WidgetContainer = dynamic(() => Promise.resolve(WWidgetContainerComponent), { ssr: false, loading: () => <>, }); export default WidgetContainer;