@mui/x-data-grid-pro
Version:
The Pro plan edition of the Data Grid components (MUI X).
13 lines • 499 B
JavaScript
import { ponyfillGlobal } from '@mui/utils';
export const getReleaseInfo = () => {
const releaseInfo = "MTcyNDg4MjQwMDAwMA==";
if (process.env.NODE_ENV !== 'production') {
// A simple hack to set the value in the test environment (has no build step).
// eslint-disable-next-line no-useless-concat
if (releaseInfo === '__RELEASE' + '_INFO__') {
// eslint-disable-next-line no-underscore-dangle
return ponyfillGlobal.__MUI_RELEASE_INFO__;
}
}
return releaseInfo;
};