Image No Margin

ScriptWidget template.

Example


//
// ScriptWidget
// https://xnu.app/scriptwidget
//
//


$render(
  <vstack spacing="0">
    <zstack>
        <image id="image0" padding="0" />
        <text> Hello </text>
    </zstack>
    <zstack>
        <image id="image1" padding="0" />
        <text> World </text>
    </zstack>
    <zstack>
        <image id="image2" padding="0" />
        <text> :) </text>
    </zstack>
  </vstack>
);
Templates live in Shared/ScriptWidgetRuntime/Resource/Script.bundle/template/ and can be imported directly into the app.