deno.land / x / ultra@v2.3.8 / hooks / use-island.d.ts

use-island.d.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
import type { ComponentType, FunctionComponent } from "react";
type HydrationStrategy = "visible" | "load" | "idle";
export default function useIsland<T>( Component: ComponentType<T> & { url: string },): FunctionComponent< T & { hydrationStrategy?: HydrationStrategy }>;
ultra

Version Info

Tagged at
8 months ago