synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
8 lines • 323 B
TypeScript
/**
* Hook that detects if the current user agent is likely a bot/crawler.
* This is useful for automatically fetching all content for search engine indexing.
*
* @returns true if the user agent appears to be a bot, false otherwise
*/
export declare function useIsBot(): boolean;
//# sourceMappingURL=useIsBot.d.ts.map