UNPKG

piral-core

Version:

The core library for creating a Piral instance.

6 lines (5 loc) 166 B
/** * Hook for running the callback once on mount. * @param cb The callback to be invoked on mounting. */ export declare function useSetter(cb: () => void): void;