mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
6 lines
209 B
TypeScript
6 lines
209 B
TypeScript
import * as React from 'react';
|
|
declare const useAdopt: <T extends {
|
|
[key: string]: any[];
|
|
}>(map: { [key in keyof T]: React.ReactElement<any>; }) => [React.ReactElement<any>, T];
|
|
export default useAdopt;
|