A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
You can specify this by letting your Preview template (or controller if you're using MVC) inherit IRenderTemplate<T> where T should be the specific Block you're interested in.
Alloy templates only have one Preview template, hence the preview template inherits IRenderTemplate<BlockData>.
Hi,
Is it possible to have different preview renderers for different blocks? Or do I have to create ONE generic preview renderer for ALL blocks?
//Marcus