import { Stack } from "../model/Stack";

import { GroupView } from "./GroupView";
import styles from "./InformationView.module.css";

export function InformationView(props: Stack) {
	return (
		<div className={styles.container}>
			{props.groups.map((group) => (
				<GroupView {...group} key={group.key} />
			))}
		</div>
	);
}
