import { Card, Typography } from "poyraz-ui/atoms"; import { NewsCard } from "poyraz-ui/molecules"; import { Link } from "@/i18n/routing"; import type { AnimationSource } from "@/data/animation-sources"; type AnimationSourcesContentProps = { sources: AnimationSource[]; emptyLabel: string; }; export function AnimationSourcesContent({ sources, emptyLabel, }: AnimationSourcesContentProps) { return (
{sources.length > 0 ? (
{sources.map((source) => ( ))}
) : ( {emptyLabel} )}
); }