@10up/block-components
Version:
10up Components built for the WordPress Block Editor.
8 lines • 441 B
TypeScript
/**
* Custom hook to check if a plugin is active and whether its resolution has finished.
*
* @param {string} pluginName The name of the plugin to check.
* @returns {[boolean, boolean]} A tuple with the first value being whether the plugin is active and the second value being whether the resolution has finished.
*/
export declare const useIsPluginActive: (pluginName: string) => [boolean, boolean];
//# sourceMappingURL=index.d.ts.map