Sha256: 16fd7b0f0b33980b80ee9c890a40a3423a533679db8bc169462afec014d52bf9
Contents?: true
Size: 278 Bytes
Versions: 1
Compression:
Stored size: 278 Bytes
Contents
class HeadingComponentPreview < ViewComponent::Preview layout false def default render(HeadingComponent.new(heading: 'Example heading', sub: 'Example sub title')) end def without_sub render(HeadingComponent.new(heading: 'Example heading', sub: nil)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alveole-0.0.1 | lib/alveole/previews/heading_component_preview.rb |