blob: dac982719652f4a8527efe0f1190615640505a72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React, { useContext } from 'react';
import { ResponseContext } from '../Contexts/ResponseContext';
export default function ResponseBox() {
const { response } = useContext(ResponseContext);
return (
<textarea
id="responsetext"
className="responsebox"
readOnly
cols="70"
rows="25"
value={response}
/>
);
}
|