Simple component that reads a
REACT_APP_VERSION
environment variable
npm install --save react-app-version
import React, { Component } from 'react'
import VersionComponent from 'react-app-version'
class YourComponent extends Component {
render() {
return <VersionComponent />
}
}
MIT © sgrezza