Lavash.Overlay.Modal.RenderGenerator (Lavash v0.4.0-rc.1)

Copy Markdown View Source

Generates the render/1 function for modal components.

This module is called by the component compiler when a modal overlay is detected. It generates the complete render function with:

  • LavashOptimistic hook wrapper with state/bindings
  • Modal chrome (backdrop, panel, animations)
  • Content and loading slots