import * as React from "react";
import { css } from "@emotion/react";
import {
ActivityFileGroup,
ActivityCollectionGroup,
ActivityProfileGroup,
} from "~/components/core/ActivityGroup/components";
const STYLES_GROUP_GRID = (theme) => css`
display: grid;
grid-template-columns: 260px 1fr;
grid-row-gap: 32px;
border-bottom: 1px solid ${theme.semantic.bgLight};
padding-bottom: 24px;
`;
export default function ActivityGroup({
onAction,
viewer,
onFileClick,
external,
group,
nbrOfCardsPerRow,
}) {
const { type } = group;
if (
type === "CREATE_FILE" ||
type === "CREATE_SLATE_OBJECT" ||
type === "LIKE_FILE" ||
type === "SAVE_COPY"
) {
return (