the-platform
Version:
React Hooks and Suspense-ready Components for Web API's and elements
11 lines (10 loc) • 322 B
TypeScript
/// <reference path="typings/react-cache.d.ts" />
/// <reference types="react" />
declare type PreloadProps = {
href: string;
as: string;
media?: string;
};
export declare const PreloadResource: import("react-cache").Resource<PreloadProps, {}>;
export declare const Preload: React.FC<PreloadProps>;
export {};