Skip to content
On this page

useListing

Definition

Signature

ts
export function useListing(params?: {
  listingType: ListingType;
  categoryId?: string;
  defaultSearchCriteria?: Partial<ShopwareSearchParams>;
}): UseListingReturn<Product> 

Parameters

NameTypeDescription
params
{
  listingType: ListingType;
  categoryId?: string;
  defaultSearchCriteria?: Partial<ShopwareSearchParams>;
}

Return type

ts
UseListingReturn<Product>

Properties

NameTypeDescription

Methods

NameTypeDescription
useListing has loaded