Buckets:
| import * as React from 'react'; | |
| /** | |
| * TODO v5: consider making it private | |
| * | |
| * passes {value} to {ref} | |
| * | |
| * WARNING: Be sure to only call this inside a callback that is passed as a ref. | |
| * Otherwise, make sure to cleanup the previous {ref} if it changes. See | |
| * https://github.com/mui/material-ui/issues/13539 | |
| * | |
| * Useful if you want to expose the ref of an inner component to the public API | |
| * while still using it inside the component. | |
| * @param ref A ref callback or ref object. If anything falsy, this is a no-op. | |
| */ | |
| export default function setRef<T>(ref: React.MutableRefObject<T | null> | ((instance: T | null) => void) | null | undefined, value: T | null): void; |
Xet Storage Details
- Size:
- 674 Bytes
- Xet hash:
- 76c4f1846ca2604da591fd34c2eb1395a603095117c39ed9beed1b8f34a8620a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.