Sha256: 90d1b0fa4bd1027a3877723caa95ee4d51fe581fe149fb4bca02ff81ce2fefd0

Contents?: true

Size: 174 Bytes

Versions: 4

Compression:

Stored size: 174 Bytes

Contents

# frozen_string_literal: true

module Components
	class Heading < Phlex::HTML
		def template(&block)
			h2(class: "text-2xl font-semibold mt-10 mb-5", &block)
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phlex-0.5.3 docs/components/heading.rb
phlex-0.5.2 docs/components/heading.rb
phlex-0.5.1 docs/components/heading.rb
phlex-0.5.0 docs/components/heading.rb