Sha256: 22d68813650d295c6a3df00ddc8a4c9ab1e4a309393a679063ef0c83c564947b
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
class AvatarComponentPreview < ViewComponent::Preview layout false def default render(AvatarComponent.new(image: '/example/image', url: '/example/url')) end def without_url render(AvatarComponent.new(image: '/example/image')) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alveole-0.0.1 | lib/alveole/previews/avatar_component_preview.rb |