UNPKG

@wordpress/editor

Version:
18 lines 780 B
/** * Returns the global styles output based on the provided global styles config. * * @param {Object} mergedConfig The merged global styles config. * @param {boolean} disableRootPadding Disable root padding styles. * * @return {Array} Array of stylesheets and settings. */ export function useGlobalStylesOutputWithConfig(mergedConfig?: Object, disableRootPadding?: boolean): any[]; /** * Returns the global styles output based on the current state of global styles config loaded in the editor context. * * @param {boolean} disableRootPadding Disable root padding styles. * * @return {Array} Array of stylesheets and settings. */ export function useGlobalStylesOutput(disableRootPadding?: boolean): any[]; //# sourceMappingURL=use-global-styles-output.d.ts.map