import withHref from '~/utils/questions/withHref'; import type { AnswerCardProps } from './AnswerCard'; import AnswerCard from './AnswerCard'; export type QuestionAnswerCardProps = Required< Omit >; function QuestionAnswerCardWithoutHref(props: QuestionAnswerCardProps) { return ; } const QuestionAnswerCard = withHref(QuestionAnswerCardWithoutHref); export default QuestionAnswerCard;