import React from 'react' import { FormSubmission, InputAnswer, ChoiseAnswer, ChoisesQuestion, Question, } from '../../apollo/typeDefs.gen' import emptyIcon from './empty.svg' import styles from './main.module.css' import { getDateCreated } from '../../utils' interface ISubmissionListProps { submissions: FormSubmission[] questions: Question[] } const SubmissionList: React.FC = ({ submissions, questions, }) => { return submissions.length > 0 ? ( ) : (
Empty

No submissions yet :(

) } export default SubmissionList