
import { Input, Button } from 'antd';

function InputBox({ onSend }) {

  function handleSend() {
    // Logic to get message and call onSend
  }

  return (
    <div>
      <Input.Search
        placeholder="Type message here"
        enterButton="Send"
        size="large"
        onSearch={handleSend}
      />
    </div>
  );
}

export default InputBox;
