import React, { forwardRef } from 'react' import type { HTMLAttributes, DetailedHTMLProps } from 'react' type ColorVariant = 'main' | 'light' | 'accent' export interface NewsletterProps extends DetailedHTMLProps, HTMLDivElement> { /** * Enables the card Variant. */ card: boolean /** * Specifies the component's color variant combination. */ colorVariant?: ColorVariant /** * ID to find this component in testing tools (e.g.: Cypress, Testing Library, and Jest). */ testId?: string } const Newsletter = forwardRef( function Newsletter( { card, children, colorVariant = 'main', testId = 'fs-newsletter', ...otherProps }, ref ) { return (
{children}
) } ) export default Newsletter