Is there a way to pass template as parameter ?
something like this:
component.html
<template name="custom_UI">
<span>
{{> {{primary_element}} }}
some content
<span>
{{> {{panel_template}} }}
some content
</span>
</span>
</template>
and then use it like this
{{> custom_UI primary_element="button_0" panel_template="panel_0"}}
{{> custom_UI primary_element="button_1" panel_template="panel_1"}}
<template name="button_0">some content</template>
<template name="panel_0">some content</template>
<template name="button_1">some content</template>
<template name="panel_1">some content</template>