import * as React from 'react' import { Products } from '@hashicorp/platform-product-meta' import classNames from 'classnames' import Image from 'next/image' import Button from '@hashicorp/react-button' import s from './style.module.css' interface IoUsecaseSectionProps { brand?: Products | 'neutral' bottomIsFlush?: boolean eyebrow: string heading: string description: string media?: { src: string width: string height: string alt: string } cta?: { text: string link: string } } export default function IoUsecaseSection({ brand = 'neutral', bottomIsFlush = false, eyebrow, heading, description, media, cta, }: IoUsecaseSectionProps): React.ReactElement { return (

{eyebrow}

{heading}

{media?.src ? (
) : null} {cta?.link && cta?.text ? (
) : null}
{media?.src ? ( // eslint-disable-next-line jsx-a11y/alt-text ) : (
)}
) }