@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
20 lines • 1.41 kB
text/typescript
import { ReactElement } from "react";
//#region src/static-css/registry.d.ts
interface AntdProbeDef {
/** antd export name whose usage activates this probe during auto scan */
detect: string;
render: () => ReactElement;
}
declare const PROBE_NAMES: readonly ["alert", "anchor", "app", "auto-complete", "avatar", "badge", "breadcrumb", "button", "card", "checkbox", "collapse", "color-picker", "date-picker", "divider", "drawer", "dropdown", "empty", "flex", "float-button", "form", "grid-col", "grid-row", "image", "input", "input-number", "input-textarea", "mentions", "menu", "modal", "pagination", "popover", "progress", "qrcode", "radio", "rate", "segmented", "select", "skeleton", "slider", "space", "spin", "steps", "switch", "table", "tabs", "tag", "tag-preset", "tag-status", "tooltip", "tree", "typography", "upload"];
type AntdProbeName = (typeof PROBE_NAMES)[number];
declare const antdProbeNames: AntdProbeName[];
declare const antdProbeRegistry: Record<AntdProbeName, AntdProbeDef>;
declare const nonProbeAntdExports: Set<string>;
interface ExpandedProbes {
probes: AntdProbeName[];
unmatched: string[];
}
declare const expandComponentsToProbes: (components: Iterable<string>) => ExpandedProbes;
//#endregion
export { AntdProbeDef, AntdProbeName, ExpandedProbes, antdProbeNames, antdProbeRegistry, expandComponentsToProbes, nonProbeAntdExports };
//# sourceMappingURL=registry.d.mts.map