Sha256: 74830df962b3648c992db3bc4d9aa745b6bedc5ccde31e09e897ef4c8db4ad2a

Contents?: true

Size: 172 Bytes

Versions: 1

Compression:

Stored size: 172 Bytes

Contents

class ButtonComponentPreview < ViewComponent::Preview
  layout false

  def default
    render(ButtonComponent.new(label: 'Example button', url: '/example/url'))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alveole-0.0.1 lib/alveole/previews/button_component_preview.rb