@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Function swatchAsset

    • The option's swatch: type "swatch" with a url first, then the first picture with a url.

      Parameters

      Returns OptionItemAsset | null