Class: Irelia::Sidebar::Brand::Preview

Inherits:
ComponentPreview
  • Object
show all
Defined in:
app/components/irelia/sidebar/brand/preview.rb

Instance Method Summary collapse

Instance Method Details

#defaultObject

You can specify the container class for the default template self.container_class = “w-1/2 border border-gray-300”



7
8
9
# File 'app/components/irelia/sidebar/brand/preview.rb', line 7

def default
  render(Irelia::Sidebar::Brand::Component.new(url: "#")) { "Irelia" }
end