Sha256: 73349a219b5a56796ca89c4b657c35481cc2f6cd2f1ad39eaebb3e4f8de2ad6f
Contents?: true
Size: 199 Bytes
Versions: 4
Compression:
Stored size: 199 Bytes
Contents
# frozen_string_literal: true module Components class Callout < Phlex::HTML def template(&block) div(class: "rounded bg-orange-50 text-sm p-5 border border-orange-100", &block) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
phlex-0.5.3 | docs/components/callout.rb |
phlex-0.5.2 | docs/components/callout.rb |
phlex-0.5.1 | docs/components/callout.rb |
phlex-0.5.0 | docs/components/callout.rb |