import React from 'react';
import {
AlignItems,
BlockSize,
Display,
FlexDirection,
JustifyContent,
TextAlign,
TextVariant,
} from '../../../../helpers/constants/design-system';
import { useI18nContext } from '../../../../hooks/useI18nContext';
import { Button, Box } from '../../../component-library';
import { Text } from '../../../component-library/text/deprecated';
import { IQuizInformationProps } from '../types';
export default function QuizContent({
icon,
image,
content,
moreContent,
buttons,
}: IQuizInformationProps) {
const t = useI18nContext();
return (
<>
{icon && (
{icon}
)}
{image && (
)}
{content}
{moreContent && (
{moreContent}
)}
{buttons.map((btn, idx) => (
))}
>
);
}