Sha256: e687d7235d9f93eba9b4ba38b2eee1f199fe7bc09135836d9c56bdea7dd4d425
Contents?: true
Size: 645 Bytes
Versions: 23
Compression:
Stored size: 645 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module Accordion class Component < Ariadne::BaseComponent renders_many :items, Ariadne::UI::Accordion::Item::Component 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-flex", "ariadne-w-full", "ariadne-justify-center", "ariadne-items-center", ] end end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems