Home > @theatre/react > usePrism

usePrism() function

Signature:

export declare function usePrism<T>(fn: () => T, deps: unknown[], debugLabel?: string): T;

Parameters

Parameter Type Description
fn () => T
deps unknown[]
debugLabel string

Returns:

T