Sha256: 6162c834a691946de7bdc8bc47ab03edbd857d27755ec062ab2e9424d27c7dcc
Contents?: true
Size: 253 Bytes
Versions: 8
Compression:
Stored size: 253 Bytes
Contents
# frozen_string_literal: true <% module_namespacing do -%> class <%= class_name %>ComponentPreview < ViewComponent::Preview def default render(<%= class_name %>Component.new<%= "(#{render_signature})" if render_signature %>) end end <% end -%>
Version data entries
8 entries across 8 versions & 1 rubygems