import { ReleaseCard } from "@/app/components/ReleaseCard/ReleaseCard";
import { ReleaseList } from "@/app/components/ReleaseList/ReleaseList";
export const CardList = (props) => {
return props.data.map((item) => {
if (props.view == "grid") {
return (
);
}
if (props.view == "list") {
return (
);
}
});
};