Download Extension/src/pages/Panel/Message/index.jsx from posix4e/brain: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/posix4e/brain/resolve/main/Extension/src/pages/Panel/Message/index.jsx
- Command line
-
hf download hf://spaces/posix4e/brain/Extension/src/pages/Panel/Message/index.jsx
-
curl -L -o index.jsx https://huggingface.co/spaces/posix4e/brain/resolve/main/Extension/src/pages/Panel/Message/index.jsx
444 Bytes
| import React from 'react'; | |
| import './index.css'; | |
| import BouncingDotsLoader from "../BouncingDotsLoader"; | |
| const Message = (props) => { | |
| return ( | |
| <div className="message"> | |
| <div className={props.type ? "message_sent" : "message_received"}> | |
| { | |
| props.isLoading ? <BouncingDotsLoader/> : props.message | |
| } | |
| </div> | |
| </div> | |
| ); | |
| }; | |
| export default Message; | |