import type { JSX } from 'solid-js/jsx-runtime' import { For, Show } from 'solid-js/web' import type { Shout } from '../../graphql/types.gen' import { ArticleCard } from './Card' import './Group.scss' interface GroupProps { articles: Shout[] header?: JSX.Element } export default (props: GroupProps) => { if (!props.articles) props.articles = [] return (
4}>
{props.header}
{(a) => (
)}
= 4}>
{(a) => }
{(a) => }
) }