Sha256: 220709bd2a67514549039d7175efb5acf7e8e2fdfe53e133a7a1a2727d36b43a

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module FComponents
  module Collapsible
    class Component < Base
      attributes :summary, class: nil

      private

      def formatted_summary
        tag.div(class: 'flex space-x-5 justify-start items-center max-w-full') { summary }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
f_components-0.5.0 app/components/f_components/collapsible/component.rb
f_components-1.0.0 app/components/f_components/collapsible/component.rb
f_components-0.3.0 app/components/f_components/collapsible/component.rb
f_components-0.2.1 app/components/f_components/collapsible/component.rb