UNPKG

the-platform

Version:

React Hooks and Suspense-ready Components for Web API's and elements

10 lines (9 loc) 373 B
/// <reference path="typings/react-cache.d.ts" /> import React from 'react'; export interface StylesheetProps { href: string; media?: string; } export declare const StylesheetResource: import("react-cache").Resource<StylesheetProps, {}>; export declare const Stylesheet: React.FC<StylesheetProps>; export declare function useStylesheet(props: StylesheetProps): {};