diff options
Diffstat (limited to 'dev-docs/src/components/Highlight.js')
| -rw-r--r-- | dev-docs/src/components/Highlight.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-docs/src/components/Highlight.js b/dev-docs/src/components/Highlight.js new file mode 100644 index 0000000..6ef3041 --- /dev/null +++ b/dev-docs/src/components/Highlight.js @@ -0,0 +1,15 @@ +import React from "react"; +export default function Highlight({ children }) { + return ( + <span + style={{ + backgroundColor: "#7874e8", + borderRadius: "2px", + color: "#fff", + padding: "0.2rem", + }} + > + {children} + </span> + ); +} |
