import { Check, default as Octicon, X } from "@primer/octicons-react"; import * as React from "react"; import { Button, Container } from "reactstrap"; import { InternalExplanation } from "./InternalExplanation"; import { InternalPrompt } from "./Prompt"; import { QuestionData } from "./QuizData"; function noop() {} export interface IInternalReviewQuestionProps { question: QuestionData; input: any[]; correct?: boolean; explained?: boolean; score?: number; onNext(): void; } export class InternalReviewQuestion extends React.PureComponent< IInternalReviewQuestionProps > { render() { return (
{this.props.correct === true && ( )} {this.props.correct === false && ( )} {this.props.explained === true && (

Explained

)}
{this.props.question.explaination && (

)}
); } }