synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
9 lines (8 loc) • 366 B
TypeScript
import { EntityHeader } from '../synapseTypes';
import { UserProfile } from '../synapseTypes';
export declare type HookType = 'ENTITY_HEADER' | 'USER_PROFILE';
export declare type UseGetInfoFromIdsProps = {
ids: string[];
type: HookType;
};
export default function useGetInfoFromIds<T extends EntityHeader | UserProfile>(props: UseGetInfoFromIdsProps): T[];