Download Dsa-Tracker/src/components/Status.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Dsa-Tracker/src/components/Status.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Dsa-Tracker/src/components/Status.js
-
curl -L -o Status.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Dsa-Tracker/src/components/Status.js
362 Bytes
| import React from 'react' | |
| function Status(props) { | |
| return ( | |
| <div> | |
| {props.visi=="visible" ? | |
| <div className="alert alert-warning" role="alert"> | |
| Try reloading the page inside the topic to remove any discrepancy | |
| </div> : <div className="h-4 bg-transparent border-transparent " role="alert"></div> | |
| } | |
| </div> | |
| ) | |
| } | |
| export default Status | |