Sha256: c506d24f8a0111e8c088cbd6714e704342701000ab3e955aa241e9fa48ca45ff

Contents?: true

Size: 543 Bytes

Versions: 20

Compression:

Stored size: 543 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Ariadne
  module UI
    module Card
      module Body
        class Component < Ariadne::BaseComponent
          accepts_html_attributes do |html_attrs|
            html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style, html_attrs[:class]].join(" "))
          end

          style do
            base do
              [
                "ariadne-p-6",
                "ariadne-pt-0",
              ]
            end
          end
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.93.2 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.93.1 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.93 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.92 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.91 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.90 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.89.1 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.89 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.88 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.87 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.9 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.8 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.7 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.6 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.5 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.4 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.3 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.2 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86.1 app/components/ariadne/ui/card/body/component.rb
ariadne_view_components-0.0.86 app/components/ariadne/ui/card/body/component.rb