aboutsummaryrefslogtreecommitdiffstats
path: root/client/js/app/src/app/pages/querybuilder/Components/Text/ResponseBox.jsx
blob: 08c65238434945692f9791d7c62f721c34b21d53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React, { useContext, useEffect, useState } 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}
    />
  );
}