update question card with question card field
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user