Files
Housekeeping-web-admin/node_modules/@base44/vite-plugin/dist/jsx-utils.d.ts
T
2026-06-24 09:48:54 +02:00

16 lines
726 B
TypeScript

import type * as t from "@babel/types";
export declare class JSXUtils {
private static types;
static init(types: typeof t): void;
static getAttributeName(attr: t.JSXAttribute): string;
static getElementName(node: t.JSXOpeningElement): string | null;
private static collectJSXMemberName;
static isCustomComponent(name: string): boolean;
static isAllowedCustomComponent(name: string): boolean;
static isDOMElement(name: string): boolean;
static isDOMOrAllowed(name: string): boolean;
static producesJSX(node: t.Expression | t.Node): boolean;
private static callbackProducesJSX;
static doesBlockReturnJSX(block: t.BlockStatement): boolean;
}
//# sourceMappingURL=jsx-utils.d.ts.map