aboutsummaryrefslogtreecommitdiffstats
path: root/dev-docs/src/components/Highlight.js
blob: 6ef30412bca11ffb6e6a9ef2ddef97e01e2c7e8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import React from "react";
export default function Highlight({ children }) {
  return (
    <span
      style={{
        backgroundColor: "#7874e8",
        borderRadius: "2px",
        color: "#fff",
        padding: "0.2rem",
      }}
    >
      {children}
    </span>
  );
}