Sha256: 7281a19cb6efaa9c23f32a07abf3de115746101b252ec375d3950b561c3ee768
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
class BadgeComponentPreview < ViewComponent::Preview layout false def default render(BadgeComponent.new(label: 'example de badge')) end def with_options render(BadgeComponent.new(label: 'example de badge', options: { data: 'example-option' })) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alveole-0.0.1 | lib/alveole/previews/badge_component_preview.rb |