Spaces:
No application file
No application file
Download examples/full_stack/frontend/src/components/chat/HumanWrapper.js from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/full_stack/frontend/src/components/chat/HumanWrapper.js
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/examples/full_stack/frontend/src/components/chat/HumanWrapper.js
-
curl -L -o HumanWrapper.js https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/full_stack/frontend/src/components/chat/HumanWrapper.js
511 Bytes
| export default function HumanWrapper({ children }) { | |
| return ( | |
| <> | |
| <div className="rounded-lg"> | |
| <div className="flex items-center justify-start flex-row-reverse"> | |
| <div className="flex items-center justify-center h-10 w-10 rounded-full bg-blue-800 text-white flex-shrink-0"> | |
| H | |
| </div> | |
| <div className="mr-3 text-sm bg-blue-200 py-2 px-4 shadow-lg rounded-xl"> | |
| <div>{children}</div> | |
| </div> | |
| </div> | |
| </div> | |
| </> | |
| ); | |
| } | |