This commit is contained in:
2026-04-12 01:02:14 +08:00
parent 509487f155
commit 9b053e302b
14085 changed files with 2680009 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
import type { CssResource } from '../../build/webpack/plugins/flight-manifest-plugin';
import type { AppRenderContext } from './app-render';
import type { PreloadCallbacks } from './types';
/**
* Abstracts the rendering of CSS files based on whether they are inlined or not.
* For inlined CSS, renders a <style> tag with the CSS content directly embedded.
* For external CSS files, renders a <link> tag pointing to the CSS file.
*/
export declare function renderCssResource(entryCssFiles: CssResource[], ctx: AppRenderContext, preloadCallbacks?: PreloadCallbacks): import("react/jsx-runtime").JSX.Element[];