/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import Link from "../components/Link";
import Utils from "../services/UtilsService";
interface CardGroupProps {
children: React.ReactNode;
}
function CardGroup(props: CardGroupProps) {
return (
{React.Children.map(props.children, (child) => {
if ((child as React.ReactElement).type === Card) {
return child;
}
})}