Spaces:
Paused
Paused
Download dev-docs/src/components/Highlight.js from Leon4gr45/excalidraw: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/src/components/Highlight.js
- Command line
-
hf download hf://spaces/Leon4gr45/excalidraw/dev-docs/src/components/Highlight.js
-
curl -L -o Highlight.js https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/src/components/Highlight.js
279 Bytes
| import React from "react"; | |
| export default function Highlight({ children }) { | |
| return ( | |
| <span | |
| style={{ | |
| backgroundColor: "#7874e8", | |
| borderRadius: "2px", | |
| color: "#fff", | |
| padding: "0.2rem", | |
| }} | |
| > | |
| {children} | |
| </span> | |
| ); | |
| } | |