Solved
HTL Syntax Error
Actually, I am struggling to implement if condition logic in a component. When I execute the below syntax, it is not working.
<a href="#" class="${properties.modalBehavior == 'sideOverlay' ? 'side-overlay-link' : ''} ${properties.modalBehavior == 'sideOverlayTable' ? 'side-overlay-link' : ''} ${properties.modalBehavior == 'fullOverlay' ? 'overlay-link' : ''}">
${properties.ctaText}
</a>
I don't know where I was wrong. Kindly help!