UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

15 lines 646 B
/** * Export VariantCode as Create React App template using exportVariant * This is a general-purpose wrapper that creates CRA-compatible templates * without library-specific dependencies */ import type { VariantCode } from "../CodeHighlighter/types.js"; import { type ExportConfig } from "./exportVariant.js"; /** * Export a VariantCode as a Create React App template * Returns an object with the exported VariantCode and entrypoint path */ export declare function exportVariantAsCra(variantCode: VariantCode, config?: Omit<ExportConfig, 'viteConfig' | 'packageType' | 'htmlSkipJsLink'>): { exported: VariantCode; rootFile: string; };