Introduce sidebar nav components, settings nav
This commit is contained in:
7
app/components/main_with_sidenav_component.rb
Normal file
7
app/components/main_with_sidenav_component.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class MainWithSidenavComponent < ViewComponent::Base
|
||||
def initialize(sidenav_partial:)
|
||||
@sidenav_partial = sidenav_partial
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user