import Translate from "@docusaurus/Translate"

import { TypeLabel, FalseLabel } from "@theme/JSONSchemaViewer/labels"

import type { JSX } from "react"

// When schema has the value "true", it means that it is ALWAYS valid
export default function CreateAlwaysValid(): JSX.Element {
  return (
    <>
      <TypeLabel />
      &nbsp;&#58;&nbsp;
      <FalseLabel />
      <div style={{ marginTop: "var(--ifm-table-cell-padding)" }}>
        <Translate
          values={{
            id: "json-schema.labels.false",
          }}
        >
          {"Always invalid"}
        </Translate>
      </div>
    </>
  )
}
