I'm trying to render a value and a component under the same condition, however, I don't know how to approach it correctly. Do I need to create a condition for each element?
<div>
{values.cost && values.price ? values.gain+"€"+
(<Button aria-label="copy1"><MdIcons.MdContentCopy/></Button>) : ""}
</div>
This way outputs 5.00€[object Object]