Sha256: 2e51261d2f2b72690fc4e07216cbb0c675449e20ab4c768352748a77d797680b

Contents?: true

Size: 183 Bytes

Versions: 3

Compression:

Stored size: 183 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-0.2.2 docs/components/heading.rb
phlex-0.2.1 docs/components/heading.rb
phlex-0.2.0 docs/components/heading.rb