Class: Irelia::Sidebar::Brand::Preview
- Inherits:
-
ComponentPreview
- Object
- ComponentPreview
- Irelia::Sidebar::Brand::Preview
- Defined in:
- app/components/irelia/sidebar/brand/preview.rb
Instance Method Summary collapse
-
#default ⇒ Object
You can specify the container class for the default template self.container_class = “w-1/2 border border-gray-300”.
Instance Method Details
#default ⇒ Object
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 |