update question card with question card field

This commit is contained in:
WindowsCrashed
2023-08-12 20:20:22 -03:00
parent 3d946d03ff
commit 147fb997d0
2 changed files with 24 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
import React, { FC } from "react";
interface Props {
label: string,
value: string
}
export const QuestionCardField: FC<Props> = ({ label, value }) => {
return (
<div>
<span className="text-gray-700">{`${label}: `}</span>
<span>{value}</span>
</div>
)
}