WIP Make dropdowns more configurable, add invitations menu to admin page

This commit is contained in:
2024-02-09 18:57:07 +01:00
parent 67689dcce3
commit fcda3b9c8c
3 changed files with 35 additions and 5 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
# frozen_string_literal: true
class DropdownComponent < ViewComponent::Base
def initialize(size: :large, icon_name: "kebap-menu")
@size = size.to_sym
@icon_name = icon_name
end
end