import { Carousel, CarouselProps, useContainerSize, Box, } from "@front10/base-elements"; import React from "react"; import { InstagramImage } from "./InstagramImage"; function InstagramN( { showCloseButton: _showCloseButton = false, data: { media = [], ...otherData } = {}, showText8: showProfileName = false, showText7: showCreatedAt = false, showText3: showCaption = false, showText2: showCommentsCount = false, showText1: showLikes = false, imageCover = "cover", customCss = {}, showDots = true, draggable = false, ...props }: CardProps & CarouselProps, ref: React.Ref ) { const cardWidth = useContainerSize(ref as any); //const vHeight = window.innerHeight; return ( {media?.map((item: any, index: number) => ( <> ))} ); } const InstagramNWithRef = React.forwardRef(InstagramN); export { InstagramNWithRef as InstagramN };