@studio-lumio/hooks
Version:
a compilation of react hooks we use to make our magic
8 lines (7 loc) • 319 B
TypeScript
/**
* @summary A hook that returns true if the current window URL contains the
* string #debug or if we're in development mode.
* @returns {Boolean} True if current window URL contains the string #debug or
* if we're in development mode, false otherwise.
*/
export declare function useDebug(): boolean;