app/pb_kits/playbook/pb_dropdown/dropdown_container.rb



# frozen_string_literal: true

module Playbook
  module PbDropdown
    class DropdownContainer < Playbook::KitBase
      def classname
        generate_classname("pb_dropdown_container", "close", separator: " ")
      end

      def container_style
        "position: absolute"
      end

      def data
        Hash(prop(:data)).merge(dropdown_container: true)
      end
    end
  end
end