worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
17
node_modules/@mui/utils/useForkRef/useForkRef.d.ts
generated
vendored
Normal file
17
node_modules/@mui/utils/useForkRef/useForkRef.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import * as React from 'react';
|
||||
/**
|
||||
* Merges refs into a single memoized callback ref or `null`.
|
||||
*
|
||||
* ```tsx
|
||||
* const rootRef = React.useRef<Instance>(null);
|
||||
* const refFork = useForkRef(rootRef, props.ref);
|
||||
*
|
||||
* return (
|
||||
* <Root {...props} ref={refFork} />
|
||||
* );
|
||||
* ```
|
||||
*
|
||||
* @param {Array<React.Ref<Instance> | undefined>} refs The ref array.
|
||||
* @returns {React.RefCallback<Instance> | null} The new ref callback.
|
||||
*/
|
||||
export default function useForkRef<Instance>(...refs: Array<React.Ref<Instance> | undefined>): React.RefCallback<Instance> | null;
|
||||
Loading…
Add table
Add a link
Reference in a new issue