Spaces:
Running
Running
File size: 780 Bytes
372531f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import Image from "next/image";
interface QuestionProps {
question: string;
}
const Question: React.FC<QuestionProps> = ({ question }) => {
return (
<div className="container w-full flex flex-col sm:flex-row items-start gap-3 pt-5 mb-2">
<div className="flex items-center gap-2 sm:gap-4">
<Image
src={"/img/message-question-circle.svg"}
alt="message"
width={24}
height={24}
className="w-6 h-6"
/>
<p className="font-bold uppercase leading-[152%] text-white">
Research Task:
</p><br/>
</div>
<div className="grow text-white break-words max-w-full log-message">"{question}"</div>
</div>
);
};
export default Question;
|