UNPKG

@10up/block-components

Version:

10up Components built for the WordPress Block Editor.

11 lines 325 B
/** * Add a script tag to body * * @param {string} scriptSource Source URL of the script to be loaded. * @returns {HTMLScriptElement} The script tag. */ export declare const useScript: (scriptSource: string) => { hasLoaded: boolean; scriptElement: HTMLScriptElement | null; }; //# sourceMappingURL=index.d.ts.map