I am new in this language and i couldn't find a solution.this is my code:
{<a>Right now {order.status === 'full' ? 'x' : 'y'}</a>}
And I want to change the text to a button that when clicked will change the text of the button, and return to the previous text after another click, and so on
Thanks.