@builder.io/mitosis
Version:
Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io
10 lines (9 loc) • 462 B
TypeScript
import { ToLiquidOptions } from '../../generators/liquid/types';
import { TranspilerGenerator } from '../../types/transpiler';
/**
* Test if the binding expression would be likely to generate
* valid or invalid liquid. If we generate invalid liquid tags
* Shopify will reject our PUT to update the template
*/
export declare const isValidLiquidBinding: (str?: string) => boolean;
export declare const componentToLiquid: TranspilerGenerator<ToLiquidOptions>;