PromoCursed/node_modules/rc-rate/lib/useRefs.d.ts

5 lines
130 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
export default function useRefs<T>(): [
getRef: (index: number) => T,
setRef: (index: number) => (instance: T) => void
];