adonisjs-ui
Version:
[](https://npmjs.com/package/adonisjs-ui) [](https://npm.chart.dev/adonisjs-ui)
16 lines (15 loc) • 599 B
TypeScript
import type { Edge } from "edge.js";
export declare class UiTagCompiler {
private edge;
constructor(edge: Edge);
static make(edge: Edge): UiTagCompiler;
compile(value: string): string;
compileTags(value: string): string;
private compileSelfClosingTags;
private compileOpeningTags;
private compileClosingTags;
protected getEdgeComponents(): string[];
protected componentString(tagName: string, attributes?: Record<string, any>): string;
protected attributesToString(attributes: Record<string, any>): string;
private getAttributesFromAttributeString;
}