Module: AtomicView
- Defined in:
- lib/atomic_view.rb,
lib/atomic_view/preview.rb,
lib/atomic_view/railtie.rb,
lib/atomic_view/version.rb,
lib/atomic_view/component.rb,
lib/atomic_view/helpers/form_tag_helper.rb,
lib/atomic_view/components/button_component.rb
Overview
Component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.
Defined Under Namespace
Modules: Components, Helpers Classes: Component, Preview, Railtie
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.preview_folder_path ⇒ Object
15 16 17 18 |
# File 'lib/atomic_view.rb', line 15 def preview_folder_path root_directory = File.dirname(__dir__) File.join(root_directory, "lib", "atomic_view", "components", "previews") end |