Sha256: b8d62a0d01eec3d881d789ef52675b896c72531df13dd346afb5b7ad3215f5d9

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

<div class="border-b border-gray-200 py-5">
  <h3 class="text-lg font-medium leading-6 text-gray-900">View component</h3>
  <p class="mt-2 max-w-4xl text-sm text-gray-500">View Components are like partials, but with the added benefit of a class that can control logic and easily tested</p>
</div>

<%= render(PriceChartComponent.new(@pricing_data1)) %>

<%= render(PriceChartComponent.new(@pricing_data2)) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_app_generator-0.3.5 after_templates/addons/view_component/app/views/home/component.html.erb
rails_app_generator-0.3.4 after_templates/addons/view_component/app/views/home/component.html.erb