import Translate from "@docusaurus/Translate"

import styles from "./styles.module.css"

import type { JSX } from "react"

export default function DeprecatedLabel(): JSX.Element {
  return (
    <strong className={styles.deprecated}>
      <Translate
        values={{
          id: "json-schema.keywords.deprecated",
        }}
      >
        {"deprecated"}
      </Translate>
    </strong>
  )
}
