import React from "react"; import { MotionProps } from "framer-motion"; export interface ContentBlockProps { variant?: any; data: any; childAnims?: Record; richText?: boolean; } export type ContentBlockMotionTypes = { contentBlock?: Record; preContent?: Record; preHeading?: Record; tag?: Record; info?: Record; infoTags?: Record; infoTag?: Record; headingTitle?: Record; subHeading?: Record; description?: Record; buttonGroup?: Record; primaryCta?: Record; secondaryCta?: Record; }; type HTMLAndMotionProps = React.HTMLAttributes & MotionProps; export interface ContentBlockContentProps extends HTMLAndMotionProps { ref?: any; variant?: any; data: { preHeading?: string; headingTitle?: any; title?: any; tag?: string; info?: string; subHeading?: string; subheading?: string; description?: string; content?: string; primaryCta?: any; secondaryCta?: any; cta?: any; sharingLinksModel?: any; infoTags?: string[] | string; }; childAnims?: ContentBlockMotionTypes; richText?: boolean; } export type ContentBlockVars = ( variant: any, childAnims: {}, className: any, ) => Record;