UNPKG

@nodegui/svelte-nodegui

Version:
26 lines (25 loc) 888 B
/// <reference types="node" /> import { ViewProps } from "../View/RNView"; import { QSvgWidget, NodeWidget, QBoxLayoutSignals, QGraphicsEffect } from "@nodegui/nodegui"; import { RNComponent } from "../config"; export interface SvgProps extends ViewProps<QBoxLayoutSignals> { /** * Sets the graphics effect used by the widget */ graphicsEffect?: QGraphicsEffect<any>; /** * Sets the file path */ src?: string | Buffer; } /** * @ignore */ export declare class RNSvg extends QSvgWidget implements RNComponent { static tagName: string; setProps(newProps: SvgProps, oldProps: SvgProps): void; appendInitialChild(child: NodeWidget<any>): void; appendChild(child: NodeWidget<any>): void; insertBefore(child: NodeWidget<any>, beforeChild: NodeWidget<any>): void; removeChild(child: NodeWidget<any>): void; }