MCPcopy Create free account
hub / github.com/Timonwa/react-chat / SendMessage

Function SendMessage

setup/src/components/SendMessage.js:3–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import React from "react";
2
3const SendMessage = () => {
4 return (
5 <form className="send-message">
6 <label htmlFor="messageInput" hidden>
7 Enter Message
8 </label>
9 <input
10 id="messageInput"
11 name="messageInput"
12 type="text"
13 className="form-input__input"
14 placeholder="type message..."
15 />
16 <button type="submit">Send</button>
17 </form>
18 );
19};
20
21export default SendMessage;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected