Quantumbraid's picture
download
raw
589 Bytes
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
function getJSXPragmaInfo(options) {
const [base, suffix] = splitPragma(options.jsxPragma || "React.createElement");
const [fragmentBase, fragmentSuffix] = splitPragma(options.jsxFragmentPragma || "React.Fragment");
return {base, suffix, fragmentBase, fragmentSuffix};
} exports.default = getJSXPragmaInfo;
function splitPragma(pragma) {
let dotIndex = pragma.indexOf(".");
if (dotIndex === -1) {
dotIndex = pragma.length;
}
return [pragma.slice(0, dotIndex), pragma.slice(dotIndex)];
}

Xet Storage Details

Size:
589 Bytes
·
Xet hash:
f7cc50dd4811e2ef03ed18a834fa8f124164d1a99f747c96542c8a4e5c751219

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.