ChemPal Documentation - v1.18.0
    Preparing search index...

    Function dropBadgeText

    • The badge's text for a number of products with an unseen drop.

      Parameters

      • count: number

        Number of products

      Returns string

      The badge text

      dropBadgeText(2); // '↓2'
      
      export function dropBadgeText(count: number): string {
      return `${DROP_PREFIX}${count}`;
      }