cwt-map
Version:
React.js HERE Maps component
14 lines (13 loc) • 435 B
TypeScript
export interface LinkState {
hasLoaded: boolean;
wasRejected: boolean;
error?: any;
link: HTMLLinkElement;
}
/**
* Get a style or other linked resource from a remote location.
* @param name {string} - The name of the resource to be retrieved.
* @param url {string} - The URL/location of the resource to be retrieved.
*/
export declare function getLink(url: string, name: string): LinkState;
export default getLink;