Closed
Description
I have one atom with three variants. I created them as three atoms like the following:
00-atoms/00-price.mustache:
<span class="price {{styleModifier}}">
{{price.old}}
</span>
00-atoms/01-price-old.mustache:
{{> atoms-price:old }}
00-atoms/02-price-new.mustache:
{{> atoms-price:new(price.old: "{{price.new}}" ) }}
I would expect them to be rendered as follows:
<span class="price ">price.old</span>
<span class="price old">price.old</span>
<span class="price new">price.new</span>
However this is what I see (on view all and individual atomic view):
<span class="price new">price.old</span>
<span class="price old">price.old</span>
<span class="price new">price.new</span>
The first atom is inheriting the new
class from somewhere.