Sha256: 1186775b18ed59d300fcb5b63f6f50229ddd716b19ca75d4d0aa9aed635e7fe8

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlex-0.4.0 docs/components/heading.rb