1
0
Fork 0

worked on GarageApp stuff

This commit is contained in:
Techognito 2025-08-25 17:46:11 +02:00
parent 60aaf17af3
commit eb606572b0
51919 changed files with 2168177 additions and 18 deletions

1
node_modules/@mui/utils/esm/useLazyRef/index.d.ts generated vendored Normal file
View file

@ -0,0 +1 @@
export { default } from "./useLazyRef.js";

1
node_modules/@mui/utils/esm/useLazyRef/index.js generated vendored Normal file
View file

@ -0,0 +1 @@
export { default } from "./useLazyRef.js";

View file

@ -0,0 +1,9 @@
import * as React from 'react';
/**
* A React.useRef() that is initialized lazily with a function. Note that it accepts an optional
* initialization argument, so the initialization function doesn't need to be an inline closure.
*
* @usage
* const ref = useLazyRef(sortColumns, columns)
*/
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>;

19
node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js generated vendored Normal file
View file

@ -0,0 +1,19 @@
'use client';
import * as React from 'react';
const UNINITIALIZED = {};
/**
* A React.useRef() that is initialized lazily with a function. Note that it accepts an optional
* initialization argument, so the initialization function doesn't need to be an inline closure.
*
* @usage
* const ref = useLazyRef(sortColumns, columns)
*/
export default function useLazyRef(init, initArg) {
const ref = React.useRef(UNINITIALIZED);
if (ref.current === UNINITIALIZED) {
ref.current = init(initArg);
}
return ref;
}