Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 1m15s
Security scan for docker image / build (push) Failing after 59s
16 lines
314 B
JavaScript
Executable File
16 lines
314 B
JavaScript
Executable File
import React from "react"
|
|
import PropTypes from "prop-types"
|
|
|
|
|
|
const OpenAPIVersion = ({ oasVersion }) => (
|
|
<small className="version-stamp">
|
|
<pre className="version">OAS {oasVersion}</pre>
|
|
</small>
|
|
)
|
|
|
|
OpenAPIVersion.propTypes = {
|
|
oasVersion: PropTypes.string.isRequired
|
|
}
|
|
|
|
export default OpenAPIVersion
|