paradiego
This commit is contained in:
9
node_modules/@mui/utils/getReactNodeRef/getReactNodeRef.d.ts
generated
vendored
Normal file
9
node_modules/@mui/utils/getReactNodeRef/getReactNodeRef.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as React from 'react';
|
||||
/**
|
||||
* Returns the ref of a React node handling differences between React 19 and older versions.
|
||||
* It will return null if the node is not a valid React element.
|
||||
*
|
||||
* @param element React.ReactNode
|
||||
* @returns React.Ref<any> | null
|
||||
*/
|
||||
export default function getReactNodeRef(element: React.ReactNode): React.Ref<any> | null;
|
||||
Reference in New Issue
Block a user