import { Stack } from "@front10/base-elements"; import * as React from "react"; import { InstagramCardProps } from "./InstagramCard"; import { InstagramReactions } from "./InstagramReactions"; import { InstagramSquare } from "./InstagramSquare"; import { InstagramText } from "./InstagramText"; export interface Props extends InstagramCardProps { hoverBgColor?: string; } function InstagramA(props: Props, ref: React.Ref) { const { text1: likesCount, text2: commentsCount, text3: captionText, } = props.data; const { showText3 = true } = props; return ( {showText3 ? ( {captionText} ) : null} ); } const InstagramAMWithRef = React.forwardRef(InstagramA); export { InstagramAMWithRef as InstagramA };