ScalesCmsWeb.Components.HelperComponents.DrawerComponents (scales_cms v0.2.0)

Copy Markdown

Shared drawer preview for the component library. Supports both regular components and template-backed insertables.

Summary

Functions

drawer_preview(assigns)

Attributes

  • title (:string) (required)
  • description (:string) - Defaults to nil.
  • icon_type (:string) - Defaults to "cms_block".
  • published (:boolean) - Defaults to false.