class ViewComponent::Preview

def layout(layout_name)

Setter for layout name.
rubocop:disable Style/TrivialAccessors
def layout(layout_name)
  @layout = layout_name
end