import React from 'react'; import { ViewCountWrapper } from '../../helpers/view-count-wrapper/ViewCountWrapper'; import { InlineNewsletterPuff } from './InlineNewsletterPuff'; export const AutoNewsletterPuff = ({ code, copy, headline, section }: AutoNewsletterPuffProps) => ( count !== undefined && [1, 3, 5].includes(count)} > ); type AutoNewsletterPuffProps = { code: string; copy: string; headline: string; section: string; };