Skip to content
On this page

getCategoryImageUrl ​

Definition ​

gets the cover image

Signature ​

ts
export function getCategoryImageUrl<
  T extends {
    media?: { url: string };
    type: string;
  },
>(category: T): string 

Parameters ​

NameTypeDescription
category
T
category entity

Return type ​

ts
string
getCategoryImageUrl has loaded