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.
createClassArrow
The energy efficiency class to display.
Optional
Additional arrow options such as orientation.
A compact SVG string.
const svgString = renderClassArrow('B', { labelOrientation: 'RIGHT'}) Copy
const svgString = renderClassArrow('B', { labelOrientation: 'RIGHT'})
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.