Initial commit: FluxKit UI Component Library

This commit is contained in:
FluxKit
2026-02-19 15:11:11 +00:00
commit a770b18136
3423 changed files with 1271865 additions and 0 deletions

22
node_modules/sucrase/dist/esm/util/getJSXPragmaInfo.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
export default function getJSXPragmaInfo(options) {
const [base, suffix] = splitPragma(options.jsxPragma || "React.createElement");
const [fragmentBase, fragmentSuffix] = splitPragma(options.jsxFragmentPragma || "React.Fragment");
return {base, suffix, fragmentBase, fragmentSuffix};
}
function splitPragma(pragma) {
let dotIndex = pragma.indexOf(".");
if (dotIndex === -1) {
dotIndex = pragma.length;
}
return [pragma.slice(0, dotIndex), pragma.slice(dotIndex)];
}