Pass a template into a component

Hi,
Is it possible to pass a stache template into a component as an attribute?

I’m thinking of a modal dialog component, where the actual form displayed within the component is passed in as an attribute of the component and then rendered as a stache template within the component.
Cheers
Rob

Yes. I think can-stache’s docs have several examples of this. Ping me tomorrow if you don’t find them. You can pass slots, in-line partials, or view functions.

Hi Justin,
Got it! That works great.
Thanks
Rob