import * as React from 'react' import classNames from 'classnames' import Button from '@hashicorp/react-button' import IoCard, { IoCardProps } from 'components/io-card' import s from './style.module.css' interface IoCardContaianerProps { theme?: 'light' | 'dark' heading?: string description?: string label?: string cta?: { url: string text: string } cardsPerRow: 3 | 4 cards: Array } export default function IoCardContaianer({ theme = 'light', heading, description, label, cta, cardsPerRow = 3, cards, }: IoCardContaianerProps): React.ReactElement { return (
{heading || description ? (
{heading ?

{heading}

: null} {description ?

{description}

: null}
) : null} {cards.length ? ( <> {label || cta ? (
{label ?

{label}

: null} {cta ? (
) : null} ) : null}
) }