@spark-ui/use-merge-refs
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.3.4](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.3.3...@spark-ui/use-merge-refs@0.3.4) (2023-06-01) | ||
**Note:** Version bump only for package @spark-ui/use-merge-refs | ||
## [0.3.3](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.3.2...@spark-ui/use-merge-refs@0.3.3) (2023-05-10) | ||
@@ -8,0 +12,0 @@ |
import { LegacyRef, MutableRefObject, RefCallback } from 'react'; | ||
export type ReactRef<T> = RefCallback<T> | MutableRefObject<T> | LegacyRef<T>; | ||
export declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void; | ||
export declare function mergeRefs<T = any>(...refs: (MutableRefObject<T> | LegacyRef<T> | null | undefined)[]): RefCallback<T>; | ||
export declare function useMergeRefs<T = any>(...refs: (ReactRef<T> | null | undefined)[]): (instance: T | null) => void; | ||
export declare function assignRef<T>(ref: ReactRef<T> | null | undefined, value: T): void; | ||
export declare function mergeRefs<T>(...refs: (MutableRefObject<T> | LegacyRef<T> | null | undefined)[]): RefCallback<T>; | ||
export declare function useMergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (instance: T | null) => void; |
{ | ||
"name": "@spark-ui/use-merge-refs", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "merge and sync the passed references into a single one", | ||
@@ -28,3 +28,3 @@ "publishConfig": { | ||
"license": "MIT", | ||
"gitHead": "f83534112dc0eaf1fea3b747e5570fff39397b96" | ||
"gitHead": "6c0c93a7fea372a3ac07244d50ba654dcc4107ed" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6784