The FigmagicElement interface is used after parsing, and before writing elements. It adds the necessary metadata to output needed files onto the standard Figma element data.

interface FigmagicElement {
    children?: FRAME[];
    css?: string;
    description?: string;
    element?: string;
    extraProps?: string;
    html?: string;
    id: string;
    imports?: string[];
    name: string;
    text?: string;
    type: string;
}

Hierarchy

Properties

children?: FRAME[]
css?: string
description?: string
element?: string
extraProps?: string
html?: string
id: string
imports?: string[]
name: string
text?: string
type: string

Generated using TypeDoc