UNPKG

react-live-unplugin

Version:

Turn React components into live code blocks with ease.

32 lines (31 loc) 862 B
import type { StringFilter } from "unplugin"; declare namespace reactLiveUnplugin { interface Options { enforce?: "pre" | "post"; /** * The regex to match the file name. */ id?: StringFilter; /** * The regex to exclude the file name. */ exclude?: RegExp; /** * The react-live module path to use. */ reactLiveModulePath?: string; /** * The export name of the react-live module. */ reactLiveExportName?: string; } } declare const reactLiveUnplugin: import("unplugin").UnpluginInstance<reactLiveUnplugin.Options | undefined, boolean> & { defaults: { id: RegExp; exclude: RegExp; reactLiveModulePath: string; reactLiveExportName: string; }; }; export { reactLiveUnplugin };