import React from 'react'; import { Form, Button, Row } from 'react-bootstrap'; function Chat(props) { let defaultname = sessionStorage.getItem('name'); function handleChange(e) { e.preventDefault() props.setInner(e.target.value) console.log(e.target.value) } function sendMsgCH(e) { props.sendMsg(e) } return (