ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
8 lines • 334 B
TypeScript
/**
* Returns whether navigation blocking (useBlocker) is supported in the current context.
* For react-router, this requires a data router. For other routers, it may always be true.
*
* @returns {boolean} Whether blocking is supported
*/
export declare const useCanBlock: () => boolean;
//# sourceMappingURL=useCanBlock.d.ts.map