// This file is part of Coog. The COPYRIGHT file at the top level of // this repository contains the full copyright notices and license terms. import React from "react"; import { map, get } from 'lodash-es'; import { SummaryBlockProps } from "./SummaryBlock.types"; import Questions from './Questions'; import Group from './Group'; import "./SummaryBlock.scss"; /** * @class * SummaryBlock Component * @param {SummaryBlockProps} * list - list of Questions * groups - groups of Questions list */ const SummaryBlock = ({ list = [], id, groups }: SummaryBlockProps): JSX.Element => (