Preparing search index...

    Function renderClassArrow

    • Renders an energy class arrow as an SVG string.

      Unlike createClassArrow, it only bundles the arrow, so prefer it when the arrow is the only label you need.

      Parameters

      • energyClass: EnergyClass

        The energy efficiency class to display.

      • Optionaloptions: Omit<ArrowData, "energyClass">

        Additional arrow options such as orientation.

      Returns string

      A compact SVG string.

      const svgString = renderClassArrow('B', {
      labelOrientation: 'RIGHT'
      })