UNPKG

@builder.io/mitosis

Version:

Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io

25 lines (24 loc) 670 B
import { MitosisNode } from '../../types/mitosis-node'; export declare const DIRECTIVES: Record<string, string | ((node: MitosisNode, blockFn: () => void) => void)>; interface ImageProps { altText?: string; image?: string; href?: string; height?: number; width?: number; builderBlock?: any; attributes?: any; sizes?: string; srcsetSizes?: string; srcset?: string; backgroundSize?: string; backgroundPosition?: string; fitContent?: boolean; aspectRatio?: number; lazy?: boolean; class?: string; children?: any[]; noWebp?: boolean; } export declare function Image(props: ImageProps): any; export {};