docs/components/callout.rb in phlex-0.4.0 vs docs/components/callout.rb in phlex-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module Components
- class Callout < Phlex::View
+ 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